Dela via


HandshakeRequestMessage(String, Int32) Constructor

Definition

Initializes a new instance of the HandshakeRequestMessage class.

public:
 HandshakeRequestMessage(System::String ^ protocol, int version);
public HandshakeRequestMessage (string protocol, int version);
new Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage : string * int -> Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage
Public Sub New (protocol As String, version As Integer)

Parameters

protocol
String

The requested protocol name.

version
Int32

The requested protocol version.

Applies to