WebSocketClientCloseStatus¶
Summary¶
An enumeration of different Web socket client close states / reasons.
Signature
1 |
|
Namespace¶
cAlgo.API
Fields¶
Empty¶
Summary
No error specified.
Signature
1 |
|
Return Value
WebSocketClientCloseStatus
EndpointUnavailable¶
Summary
(1001) Indicates an endpoint is being removed. Either the server or client will become unavailable.
Signature
1 |
|
Return Value
WebSocketClientCloseStatus
InternalServerError¶
Summary
(1011) The connection will be closed by the server because of an error on the server.
Signature
1 |
|
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 |
|
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 |
|
Return Value
WebSocketClientCloseStatus
MandatoryExtension¶
Summary
(1010) The client is terminating the connection because it expected the server to negotiate an extension.
Signature
1 |
|
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 |
|
Return Value
WebSocketClientCloseStatus
NormalClosure¶
Summary
(1000) The connection has closed after the request was fulfilled.
Signature
1 |
|
Return Value
WebSocketClientCloseStatus
PolicyViolation¶
Summary
(1008) The connection will be closed because an endpoint has received a message that violates its policy.
Signature
1 |
|
Return Value
WebSocketClientCloseStatus
ProtocolError¶
Summary
(1008) The client or server is terminating the connection because of a protocol error.
Signature
1 |
|
Return Value
WebSocketClientCloseStatus