Scoop API

scoop:scoop.http:0.1.0

Companion

object Companion

source · line 35
public
public companion

Construction and parsing of this structured HTTP field.

function parse

source · line 40
public
public fun parse(value: List<Byte>): HttpAge

Parses the first Age value, tolerating a following comma-separated suffix and saturating decimal overflow; malformed leading syntax throws HttpFieldParseException.

function parse

source · line 52
public
public fun parse(value: String): HttpAge

Parses the first Age value, tolerating a following comma-separated suffix and saturating decimal overflow; malformed leading syntax throws HttpFieldParseException.