WebSocketCompression

public struct WebSocketCompression

The WebSocketCompression struct is used by the compression property and manages the compression options for the WebSocket connection.

  • on

    Used to accept compressed messages from the server. Default is true.

    Declaration

    Swift

    public var on = false
  • request no context takeover.

    Declaration

    Swift

    public var noContextTakeover = false
  • request max window bits.

    Declaration

    Swift

    public var maxWindowBits = defaultMaxWindowBits