共用方式為


HandshakeProtocol.GetSuccessfulHandshake(IHubProtocol) 方法

定義

取得成功交握訊息的位元組。

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)

參數

protocol
IHubProtocol

用於連接的通訊協定。

傳回

成功交握訊息的位元組。

適用於