WebSocketStatusCode
public enum WebSocketStatusCode
WebSocket のステータスコードを表します。
-
1000
Declaration
Swift
case normal -
1001
Declaration
Swift
case goingAway -
1002
Declaration
Swift
case protocolError -
1003
Declaration
Swift
case unhandledType -
1005
Declaration
Swift
case noStatusReceived -
1006
Declaration
Swift
case abnormal -
1007
Declaration
Swift
case invalidUTF8 -
1008
Declaration
Swift
case policyViolated -
1009
Declaration
Swift
case messageTooBig -
1010
Declaration
Swift
case missingExtension -
1011
Declaration
Swift
case internalError -
1012
Declaration
Swift
case serviceRestart -
1013
Declaration
Swift
case tryAgainLater -
1015
Declaration
Swift
case tlsHandshake -
その他のコード
Declaration
Swift
case other(Int)
-
初期化します。
Declaration
Swift
public init(rawValue: Int)Parameters
rawValueステータスコード
-
整数で表されるステータスコードを返します。
Declaration
Swift
public func intValue() -> IntReturn Value
ステータスコード
View on GitHub
Install in Dash