WebSocketCloseStatus Enum
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9083)
WebSocket close status.
Syntax
public enum WebSocketCloseStatus
Fields
Name | Description |
---|---|
Empty | No close reason. |
EndpointUnavailable | Server is going down or a browser have navigated away from a page. |
InternalServerError | Internal server error (only sent by servers). |
InvalidMessageType | Received unexpected data type (text versus binary). |
InvalidPayloadData | Received inconsistent data (such as non-UTF-8 data within a text message). |
MandatoryExtension | Mandatory extension is missing (only sent by clients). |
MessageTooBig | Message was too big to be processed. |
NormalClosure | Default close reason. |
PolicyViolation | No suitable code exists or there is a need to hide specific details. |
ProtocolError | Protocol error. |