Share via


HandshakeResponseMessage(String) Constructor

Definition

Initializes a new instance of the HandshakeResponseMessage class. An error response does need a minor version. Since the handshake has failed, any extra data will be ignored.

public:
 HandshakeResponseMessage(System::String ^ error);
public HandshakeResponseMessage (string error);
public HandshakeResponseMessage (string? error);
new Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage : string -> Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage
Public Sub New (error As String)

Parameters

error
String

Error encountered by the server, indicating why the handshake has failed.

Applies to