Update messagepackhubprotocol.md (#8847)

Fixes #8821
PR for review. I just mirrored the note in the server section
@scottaddie @anurse
pull/8849/head
Cecil Phillip 2018-10-04 15:29:33 -04:00 committed by Scott Addie
parent 08c1ed8940
commit 16af294128
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ services.AddSignalR()
## Configure MessagePack on the client
> [!NOTE]
> JSON is enabled by default for the supported clients. Clients can only support a single protocol. Adding MessagePack support will replace any previously configured protocols.
### .NET client
To enable MessagePack in the .NET Client, install the `Microsoft.AspNetCore.SignalR.Protocols.MessagePack` package and call `AddMessagePackProtocol` on `HubConnectionBuilder`.