Share via


HandshakeProtocol Class

Definition

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