HandshakeProtocol Class
Definition
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
Fields
SuccessHandshakeData |
The serialized representation of a success handshake. |
Methods
GetSuccessfulHandshake(IHubProtocol) |
Gets the bytes of a successful handshake message. |
TryParseRequestMessage(ReadOnlySequence<Byte>, HandshakeRequestMessage) |
Creates a new HandshakeRequestMessage from the specified serialized representation. |
TryParseResponseMessage(ReadOnlySequence<Byte>, HandshakeResponseMessage) |
Creates a new HandshakeResponseMessage from the specified serialized representation. |
WriteRequestMessage(HandshakeRequestMessage, IBufferWriter<Byte>) |
Writes the serialized representation of a HandshakeRequestMessage to the specified writer. |
WriteResponseMessage(HandshakeResponseMessage, IBufferWriter<Byte>) |
Writes the serialized representation of a HandshakeResponseMessage to the specified writer. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for