Scoop API

scoop:scoop.http.client:0.1.0

HttpDecodingOptions

class HttpDecodingOptions

source · line 23
public
public class HttpDecodingOptions internal constructor(
    /**
     * Automatic decoding or raw encoded bytes.
     */
    public val mode: HttpContentDecoding = HttpContentDecoding.Automatic,
    /**
     * The positive transfer-buffer size for decoding.
     */
    public val bufferSize: Long = 8192L,
    /**
     * The maximum compression window accepted by the decoder.
     */
    public val maxWindowBytes: Long? = None
)

Content-decoding mode, transfer buffer size, and maximum compression window.

Extensions

property bufferSize

source · line 31
public
public val bufferSize: Long = 8192L

get: public read-only

The positive transfer-buffer size for decoding.

property maxWindowBytes

source · line 35
public
public val maxWindowBytes: Long? = None

get: public read-only

The maximum compression window accepted by the decoder.