LCRTMWebSocketCloseCode
Objective-C
NS_ENUM(NSInteger, LCRTMWebSocketCloseCode)
{
LCRTMWebSocketCloseCodeInvalid = 0,
LCRTMWebSocketCloseCodeNormalClosure = 1000,
LCRTMWebSocketCloseCodeGoingAway = 1001,
LCRTMWebSocketCloseCodeProtocolError = 1002,
LCRTMWebSocketCloseCodeUnsupportedData = 1003,
LCRTMWebSocketCloseCodeNoStatusReceived = 1005,
LCRTMWebSocketCloseCodeAbnormalClosure = 1006,
LCRTMWebSocketCloseCodeInvalidFramePayloadData = 1007,
LCRTMWebSocketCloseCodePolicyViolation = 1008,
LCRTMWebSocketCloseCodeMessageTooBig = 1009,
LCRTMWebSocketCloseCodeMandatoryExtensionMissing = 1010,
LCRTMWebSocketCloseCodeInternalServerError = 1011,
LCRTMWebSocketCloseCodeTLSHandshakeFailure = 1015,
}
Swift
enum LCRTMWebSocketCloseCode : Int, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeInvalid = 0
Swift
case invalid = 0
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeNormalClosure = 1000
Swift
case normalClosure = 1000
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeGoingAway = 1001
Swift
case goingAway = 1001
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeProtocolError = 1002
Swift
case protocolError = 1002
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeUnsupportedData = 1003
Swift
case unsupportedData = 1003
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeNoStatusReceived = 1005
Swift
case noStatusReceived = 1005
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeAbnormalClosure = 1006
Swift
case abnormalClosure = 1006
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeInvalidFramePayloadData = 1007
Swift
case invalidFramePayloadData = 1007
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodePolicyViolation = 1008
Swift
case policyViolation = 1008
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeMessageTooBig = 1009
Swift
case messageTooBig = 1009
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeMandatoryExtensionMissing = 1010
Swift
case mandatoryExtensionMissing = 1010
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeInternalServerError = 1011
Swift
case internalServerError = 1011
-
Undocumented
Declaration
Objective-C
LCRTMWebSocketCloseCodeTLSHandshakeFailure = 1015
Swift
case tlsHandshakeFailure = 1015