ARTSRStatusCode
Objective-C
NS_ENUM(NSInteger, ARTSRStatusCode) {
// 0-999: Reserved and not used.
ARTSRStatusCodeNormal = 1000,
ARTSRStatusCodeGoingAway = 1001,
ARTSRStatusCodeProtocolError = 1002,
ARTSRStatusCodeUnhandledType = 1003,
// 1004 reserved.
ARTSRStatusNoStatusReceived = 1005,
ARTSRStatusCodeAbnormal = 1006,
ARTSRStatusCodeInvalidUTF8 = 1007,
ARTSRStatusCodePolicyViolated = 1008,
ARTSRStatusCodeMessageTooBig = 1009,
ARTSRStatusCodeMissingExtension = 1010,
ARTSRStatusCodeInternalError = 1011,
ARTSRStatusCodeServiceRestart = 1012,
ARTSRStatusCodeTryAgainLater = 1013,
// 1014: Reserved for future use by the WebSocket standard.
ARTSRStatusCodeTLSHandshake = 1015,
// 1016-1999: Reserved for future use by the WebSocket standard.
// 2000-2999: Reserved for use by WebSocket extensions.
// 3000-3999: Available for use by libraries and frameworks. May not be used by applications. Available for registration at the IANA via first-come, first-serve.
// 4000-4999: Available for use by applications.
}
Swift
enum ARTSRStatusCode : Int, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Objective-C
ARTSRStatusCodeNormal = 1000Swift
case codeNormal = 1000 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeGoingAway = 1001Swift
case codeGoingAway = 1001 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeProtocolError = 1002Swift
case codeProtocolError = 1002 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeUnhandledType = 1003Swift
case codeUnhandledType = 1003 -
Undocumented
Declaration
Objective-C
ARTSRStatusNoStatusReceived = 1005Swift
case noStatusReceived = 1005 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeAbnormal = 1006Swift
case codeAbnormal = 1006 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeInvalidUTF8 = 1007Swift
case codeInvalidUTF8 = 1007 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodePolicyViolated = 1008Swift
case codePolicyViolated = 1008 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeMessageTooBig = 1009Swift
case codeMessageTooBig = 1009 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeMissingExtension = 1010Swift
case codeMissingExtension = 1010 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeInternalError = 1011Swift
case codeInternalError = 1011 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeServiceRestart = 1012Swift
case codeServiceRestart = 1012 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeTryAgainLater = 1013Swift
case codeTryAgainLater = 1013 -
Undocumented
Declaration
Objective-C
ARTSRStatusCodeTLSHandshake = 1015Swift
case codeTLSHandshake = 1015