Class WebSocketException
The exception that is thrown when a fatal error occurs in
the WebSocket communication.
Inheritance
Exception
WebSocketException
Namespace: Mars.Common.Socket
Assembly: Mars.Common.dll
Syntax
public class WebSocketException : Exception
Properties
Code
Gets the status code indicating the cause of the exception.
Declaration
public CloseStatusCode Code { get; }
Property Value
Type | Description |
---|---|
CloseStatusCode | One of the CloseStatusCode enum values that represents the status code indicating the cause of the exception. |