Share via


HandshakeProtocol.GetSuccessfulHandshake(IHubProtocol) Method

Definition

Gets the bytes of a successful handshake message.

public:
 static ReadOnlySpan<System::Byte> GetSuccessfulHandshake(Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^ protocol);
public static ReadOnlySpan<byte> GetSuccessfulHandshake (Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol protocol);
static member GetSuccessfulHandshake : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol -> ReadOnlySpan<byte>
Public Shared Function GetSuccessfulHandshake (protocol As IHubProtocol) As ReadOnlySpan(Of Byte)

Parameters

protocol
IHubProtocol

The protocol being used for the connection.

Returns

The bytes of a successful handshake message.

Applies to