HandshakeProtocol.GetSuccessfulHandshake(IHubProtocol) Method
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.
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.