Scoop API

scoop:scoop.http:0.1.0

HttpField

class HttpField

source · line 110
public
public class HttpField public constructor(
    name: List<Byte>,
    value: List<Byte>,
    /**
     * Whether header compression must avoid indexing this field.
     */
    public val neverIndex: Boolean = false
)

An owned snapshot of HTTP field name and value bytes. Duplicate fields and original ordering remain distinct; text decoding is explicit.

Extensions

property value

source · line 125
public
public val value: Array<Byte>

get: public read-only

The immutable field-value snapshot without implicit character decoding.

property neverIndex

source · line 116
public
public val neverIndex: Boolean = false

get: public read-only

Whether header compression must avoid indexing this field.