
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@microsoft/signalr-protocol-msgpack
Advanced tools
MsgPack Protocol support for ASP.NET Core SignalR
MsgPack support for SignalR for ASP.NET Core
npm install @microsoft/signalr-protocol-msgpack
# or
yarn add @microsoft/signalr-protocol-msgpack
To try previews of the next version, use the next
tag on NPM:
npm install @microsoft/signalr-protocol-msgpack@next
# or
yarn add @microsoft/signalr-protocol-msgpack@next
See the SignalR Documentation at learn.microsoft.com for documentation on the latest release. API Reference Documentation is also available on learn.microsoft.com.
To use the client in a browser, copy *.js
files from the dist/browser
folder to your script folder include on your page using the <script>
tag.
To use the client in a NodeJS application, install the package to your node_modules
folder and use require('@microsoft/signalr-protocol-msgpack')
to load the module. The object returned by require('@microsoft/signalr-protocol-msgpack')
has the same members as the global signalR.protocols.msgpack
object (when used in a browser).
let connection = new signalR.HubConnectionBuilder()
.withUrl("/chat")
.withHubProtocol(new signalR.protocols.msgpack.MessagePackHubProtocol())
.build();
connection.on('send', data => {
console.log(data);
});
connection.start()
.then(() => connection.invoke('send', 'Hello'));
const signalR = require("@microsoft/signalr");
const signalRMsgPack = require("@microsoft/signalr-protocol-msgpack");
let connection = new signalR.HubConnectionBuilder()
.withUrl("/chat")
.withHubProtocol(new signalRMsgPack.MessagePackHubProtocol())
.build();
connection.on('send', data => {
console.log(data);
});
connection.start()
.then(() => connection.invoke('send', 'Hello'));
FAQs
MsgPack Protocol support for ASP.NET Core SignalR
The npm package @microsoft/signalr-protocol-msgpack receives a total of 24,149 weekly downloads. As such, @microsoft/signalr-protocol-msgpack popularity was classified as popular.
We found that @microsoft/signalr-protocol-msgpack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.