/ fm / liveswitch / WebSocketStatusCode
Enumeration: WebSocketStatusCode
fm.liveswitch.WebSocketStatusCode
An enumeration of potential WebSocket status codes.
Table of contents
Enumeration members
- Abnormal
- ClientKeepAliveTimeout
- GoingAway
- InvalidData
- InvalidType
- MessageTooLarge
- NoStatus
- Normal
- PolicyViolation
- ProtocolError
- SecureHandshakeFailure
- UnexpectedCondition
- UnsupportedExtension
Enumeration members
Abnormal
• Abnormal: = 1006
Indicates that the connection was closed abnormally, without sending a Close frame. Reserved for use outside Close frames.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:50
ClientKeepAliveTimeout
• ClientKeepAliveTimeout: = 4000
Indicates the connection was closed by the client due to a timeout in the keep alive mechanism.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:105
GoingAway
• GoingAway: = 1001
Indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:22
InvalidData
• InvalidData: = 1007
Indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of message.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:58
InvalidType
• InvalidType: = 1003
Indicates that an endpoint is terminating the connection because it has received a type of data that it cannot accept.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:36
MessageTooLarge
• MessageTooLarge: = 1009
Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:73
NoStatus
• NoStatus: = 1005
Indicates that no status code was present in the Close frame. Reserved for use outside Close frames.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:43
Normal
• Normal: = 1000
Indicates normal closure, meaning that the purpose for which the connection was established has been fulfilled.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:15
PolicyViolation
• PolicyViolation: = 1008
Indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:65
ProtocolError
• ProtocolError: = 1002
Indicates that an endpoint is terminating the connection due to a protocol error.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:29
SecureHandshakeFailure
• SecureHandshakeFailure: = 1015
Indicates that the connection was closed due to a failure to perform a TLS handshake. Reserved for use outside Close frames.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:98
UnexpectedCondition
• UnexpectedCondition: = 1011
Indicates that the server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:90
UnsupportedExtension
• UnsupportedExtension: = 1010
Indicates that the client is terminating the connection because it has expected the server to negotiate one or more extensions, but the server didn't return them in the response message of the WebSocket handshake.
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketStatusCode.ts:82