Class WebSocketException
The exception that is thrown when a WebSocket gets a fatal error.
Namespace: EmbedIO.WebSockets
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, represents the status code indicating the cause of the exception. |