Class DisconnectEventArgs
public class DisconnectEventArgs
- Inheritance
-
DisconnectEventArgs
- Inherited Members
Constructors
DisconnectEventArgs(WebSocketCloseStatus?, string?, bool)
public DisconnectEventArgs(WebSocketCloseStatus? closeStatus, string? closeStatusDescription, bool reconnect)
Parameters
closeStatusWebSocketCloseStatus?closeStatusDescriptionstringreconnectbool
Properties
CloseStatus
The close status of the disconnect.
public WebSocketCloseStatus? CloseStatus { get; }
Property Value
CloseStatusDescription
The close status description of the disconnect.
public string? CloseStatusDescription { get; }
Property Value
Reconnect
Whether the client will attempt to reconnect after the disconnect.
public bool Reconnect { get; }