Skip to content

WebSocketClientCloseStatus

Summary

An enumeration of different Web socket client close states / reasons.

Signature

1
public enum WebSocketClientCloseStatus

Namespace

cAlgo.API

Fields

Empty

Summary

No error specified.

Signature

1
public static WebSocketClientCloseStatus Empty;

Return Value

WebSocketClientCloseStatus

EndpointUnavailable

Summary

(1001) Indicates an endpoint is being removed. Either the server or client will become unavailable.

Signature

1
public static WebSocketClientCloseStatus EndpointUnavailable;

Return Value

WebSocketClientCloseStatus

InternalServerError

Summary

(1011) The connection will be closed by the server because of an error on the server.

Signature

1
public static WebSocketClientCloseStatus InternalServerError;

Return Value

WebSocketClientCloseStatus

InvalidMessageType

Summary

(1003) The client or server is terminating the connection because it cannot accept the data type it received.

Signature

1
public static WebSocketClientCloseStatus InvalidMessageType;

Return Value

WebSocketClientCloseStatus

InvalidPayloadData

Summary

(1007) The client or server is terminating the connection because it has received data inconsistent with the message type.

Signature

1
public static WebSocketClientCloseStatus InvalidPayloadData;

Return Value

WebSocketClientCloseStatus

MandatoryExtension

Summary

(1010) The client is terminating the connection because it expected the server to negotiate an extension.

Signature

1
public static WebSocketClientCloseStatus MandatoryExtension;

Return Value

WebSocketClientCloseStatus

MessageTooBig

Summary

(1009) The client or server is terminating the connection because it has received a message that is too big for it to process.

Signature

1
public static WebSocketClientCloseStatus MessageTooBig;

Return Value

WebSocketClientCloseStatus

NormalClosure

Summary

(1000) The connection has closed after the request was fulfilled.

Signature

1
public static WebSocketClientCloseStatus NormalClosure;

Return Value

WebSocketClientCloseStatus

PolicyViolation

Summary

(1008) The connection will be closed because an endpoint has received a message that violates its policy.

Signature

1
public static WebSocketClientCloseStatus PolicyViolation;

Return Value

WebSocketClientCloseStatus

ProtocolError

Summary

(1008) The client or server is terminating the connection because of a protocol error.

Signature

1
public static WebSocketClientCloseStatus ProtocolError;

Return Value

WebSocketClientCloseStatus