WebSocketCompression
public struct WebSocketCompression
The WebSocketCompression struct is used by the compression property and manages the compression options for the WebSocket connection.
-
Used to accept compressed messages from the server. Default is true.
Declaration
Swift
public var on: Bool
-
request no context takeover.
Declaration
Swift
public var noContextTakeover: Bool
-
request max window bits.
Declaration
Swift
public var maxWindowBits: Int