Syntax
public enum WebSocketCloseStatus
Remarks
Members
Member Name | Description |
---|
Empty |
No error specified.
|
EndpointUnavailable |
(1001) Indicates an endpoint is being removed. Either the server or client will become unavailable.
|
InternalServerError |
The connection will be closed by the server because of an error on the server.
|
InvalidMessageType |
(1003) The client or server is terminating the connection because it cannot accept the data type it received.
|
InvalidPayloadData |
(1007) The client or server is terminating the connection because it has received data inconsistent with the message type.
|
MandatoryExtension |
(1010) The client is terminating the connection because it expected the server to negotiate an extension.
|
MessageTooBig |
(1004) Reserved for future use.
|
NormalClosure |
(1000) The connection has closed after the request was fulfilled.
|
PolicyViolation |
(1008) The connection will be closed because an endpoint has received a message that violates its policy.
|
ProtocolError |
(1002) The client or server is terminating the connection because of a protocol error.
|
Requirements
Namespace: System.Net.WebSockets
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0