MessagePackHubProtocol Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the SignalR Hub Protocol using MessagePack.
public ref class MessagePackHubProtocol : Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol
public class MessagePackHubProtocol : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol
type MessagePackHubProtocol = class
interface IHubProtocol
Public Class MessagePackHubProtocol
Implements IHubProtocol
- Inheritance
-
MessagePackHubProtocol
- Implements
Message |
Initializes a new instance of the MessagePackHubProtocol class. |
Message |
Initializes a new instance of the MessagePackHubProtocol class. |
Name |
Gets the name of the protocol. The name is used by SignalR to resolve the protocol between the client and server. |
Transfer |
Gets the transfer format of the protocol. |
Version |
Gets the major version of the protocol. |
Get |
Converts the specified HubMessage to its serialized representation. |
Is |
Gets a value indicating whether the protocol supports the specified version. |
Try |
Creates a new HubMessage from the specified serialized representation, and using the specified binder. |
Write |
Writes the specified HubMessage to a writer. |
Get |
Converts the specified HubMessage to its serialized representation. |
Product | Versions |
---|---|
ASP.NET Core | 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |