Socket Close Status Enum
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents well known WebSocket close codes as defined in section 11.7 of the WebSocket protocol spec.
public enum class WebSocketCloseStatus
public enum WebSocketCloseStatus
type WebSocketCloseStatus =
Public Enum WebSocketCloseStatus
No error specified.
(1001) Indicates an endpoint is being removed. Either the server or client will become unavailable.
(1011) The connection will be closed by the server because of an error on the server.
(1003) The client or server is terminating the connection because it cannot accept the data type it received.
(1007) The client or server is terminating the connection because it has received data inconsistent with the message type.
(1010) The client is terminating the connection because it expected the server to negotiate an extension.
(1009) The client or server is terminating the connection because it has received a message that is too big for it to process.
(1000) The connection has closed after the request was fulfilled.
(1008) The connection will be closed because an endpoint has received a message that violates its policy.
(1002) The client or server is terminating the connection because of a protocol error.