AcceptEncoding

constructor(acceptEncoding: String, qValue: Double)

Constructs an AcceptEncoding instance with a specified encoding type and q-value.

Parameters

acceptEncoding

The encoding type, such as "gzip", "compress", "br", etc.

qValue

The quality value (q-value) associated with this encoding.


constructor(acceptEncoding: String, parameters: List<HeaderValueParam> = emptyList())

Parameters

parameters

Optional list of parameters associated with the encoding, such as quality values (q-values).