Scoop API

scoop:scoop.http:0.1.0

WebSocketDeflateNegotiation

class WebSocketDeflateNegotiation

source · line 58
public
public class WebSocketDeflateNegotiation internal constructor(
    /**
     * The offer that accepted the negotiated response.
     */
    public val offer: WebSocketDeflateOffer,
        /**
         * The selected response parameters.
         */
        public val response: WebSocketDeflate
)

The accepted offer and response together with effective compression settings for each direction.

property clientNoContextTakeover

source · line 75
public
public val clientNoContextTakeover: Boolean

get: public read-only

Whether the client must reset compression history between messages.

property clientWindowBits

source · line 83
public
public val clientWindowBits: Int

get: public read-only

The effective client compression window size after combining offer and response.

property serverWindowBits

source · line 79
public
public val serverWindowBits: Int

get: public read-only

The effective server compression window size, defaulting to 15 bits.

property serverNoContextTakeover

source · line 71
public
public val serverNoContextTakeover: Boolean

get: public read-only

Whether the server must reset compression history between messages.