FMIceLinkWebSocketStatusCode Constants Reference
Declared in | FMIceLinkWebSocketStatusCode.h |
---|
FMIceLinkWebSocketStatusCode
An enumeration of potential WebSocket status codes.
Definition
typedef NS_ENUM(NSInteger, FMIceLinkWebSocketStatusCode ) {
FMIceLinkWebSocketStatusCodeNormal = 1000,
FMIceLinkWebSocketStatusCodeGoingAway = 1001,
FMIceLinkWebSocketStatusCodeProtocolError = 1002,
FMIceLinkWebSocketStatusCodeInvalidType = 1003,
FMIceLinkWebSocketStatusCodeNoStatus = 1005,
FMIceLinkWebSocketStatusCodeAbnormal = 1006,
FMIceLinkWebSocketStatusCodeInvalidData = 1007,
FMIceLinkWebSocketStatusCodePolicyViolation = 1008,
FMIceLinkWebSocketStatusCodeMessageTooLarge = 1009,
FMIceLinkWebSocketStatusCodeUnsupportedExtension = 1010,
FMIceLinkWebSocketStatusCodeUnexpectedCondition = 1011,
FMIceLinkWebSocketStatusCodeSecureHandshakeFailure = 1015,
};
Constants
FMIceLinkWebSocketStatusCodeNormal
-
Indicates normal closure, meaning that the purpose for which the connection was established has been fulfilled.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeGoingAway
-
Indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeProtocolError
-
Indicates that an endpoint is terminating the connection due to a protocol error.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeInvalidType
-
Indicates that an endpoint is terminating the connection because it has received a type of data that it cannot accept.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeNoStatus
-
Indicates that no status code was present in the Close frame. Reserved for use outside Close frames.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeAbnormal
-
Indicates that the connection was closed abnormally, without sending a Close frame. Reserved for use outside Close frames.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeInvalidData
-
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.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodePolicyViolation
-
Indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeMessageTooLarge
-
Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeUnsupportedExtension
-
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.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeUnexpectedCondition
-
Indicates that the server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
Declared In
FMIceLinkWebSocketStatusCode.h
. FMIceLinkWebSocketStatusCodeSecureHandshakeFailure
-
Indicates that the connection was closed due to a failure to perform a TLS handshake. Reserved for use outside Close frames.
Declared In
FMIceLinkWebSocketStatusCode.h
.
Declared In
FMIceLinkWebSocketStatusCode.h