HandshakeProtocol 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.
A helper class for working with SignalR handshakes.
public ref class HandshakeProtocol abstract sealed
public static class HandshakeProtocol
type HandshakeProtocol = class
Public Class HandshakeProtocol
- Inheritance
-
HandshakeProtocol
Success |
The serialized representation of a success handshake. |
Get |
Gets the bytes of a successful handshake message. |
Try |
Creates a new HandshakeRequestMessage from the specified serialized representation. |
Try |
Creates a new HandshakeResponseMessage from the specified serialized representation. |
Write |
Writes the serialized representation of a HandshakeRequestMessage to the specified writer. |
Write |
Writes the serialized representation of a HandshakeResponseMessage to the specified writer. |
Product | Versions |
---|---|
ASP.NET Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |