Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name.
This commit is contained in:
parent
974eb28b8b
commit
0141d6e4a3
|
|
@ -16,7 +16,7 @@ To use the client in a browser, copy `*.js` files from the `dist/browser` folder
|
||||||
|
|
||||||
```JavaScript
|
```JavaScript
|
||||||
let connection = new signalR.HubConnection('/chat', {
|
let connection = new signalR.HubConnection('/chat', {
|
||||||
protocol: new signalR.protocol.msgpack.MessagePackHubProtocol()
|
protocol: new signalR.protocols.msgpack.MessagePackHubProtocol()
|
||||||
});
|
});
|
||||||
|
|
||||||
connection.on('send', data => {
|
connection.on('send', data => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue