class HttpDecodingOptions
source · line 23public
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
public fun HttpDecodingOptions.copy(configure: HttpDecodingOptionsBuilder.() -> Unit = {}): HttpDecodingOptions· scoop:scoop.http.client:0.1.0
property mode
source · line 27public
public val mode: HttpContentDecoding = HttpContentDecoding.Automatic
get: public read-only
Automatic decoding or raw encoded bytes.
property bufferSize
source · line 31public
public val bufferSize: Long = 8192L
get: public read-only
The positive transfer-buffer size for decoding.
property maxWindowBytes
source · line 35public
public val maxWindowBytes: Long? = None
get: public read-only
The maximum compression window accepted by the decoder.