Skip to content

Commit 0141d6e

Browse files
authored
Fix #1580 by correcting README sample (#1581)
Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name.
1 parent 974eb28 commit 0141d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client-ts/signalr-protocol-msgpack/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To use the client in a browser, copy `*.js` files from the `dist/browser` folder
1616

1717
```JavaScript
1818
let connection = new signalR.HubConnection('/chat', {
19-
protocol: new signalR.protocol.msgpack.MessagePackHubProtocol()
19+
protocol: new signalR.protocols.msgpack.MessagePackHubProtocol()
2020
});
2121

2222
connection.on('send', data => {
@@ -43,4 +43,4 @@ connection.on('send', data => {
4343

4444
connection.start()
4545
.then(() => connection.invoke('send', 'Hello'));
46-
```
46+
```

0 commit comments

Comments
 (0)