WebSocketBinaryType
public enum WebSocketBinaryType : CustomStringConvertible
The WebSocketBinaryType enum is used by the binaryType property and indicates the type of binary data being transmitted by the WebSocket connection.
-
The WebSocket should transmit [UInt8] objects.
Declaration
Swift
case uInt8Array
-
The WebSocket should transmit NSData objects.
Declaration
Swift
case nsData
-
The WebSocket should transmit UnsafeBufferPointer
objects. This buffer is only valid during the scope of the message event. Use at your own risk. Declaration
Swift
case uInt8UnsafeBufferPointer
-
Declaration
Swift
public var description: String { get }