Response
[Source]
Representing a HTTP response minus the body.
interface val Response is
ByteSeqIter val
Implements
Public Functions
version
[Source]
fun box version()
: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val)
Returns
status
[Source]
fun box status()
: Status val
Returns
[Source]
fun box header(
name: String val)
: (String val | None val)
Parameters
Returns
[Source]
fun box headers()
: Iterator[(String val , String val)] ref
Returns
transfer_encoding
[Source]
fun box transfer_encoding()
: (Chunked val | None val)
Returns
content_length
[Source]
fun box content_length()
: (USize val | None val)
Returns
to_bytes
[Source]
fun box to_bytes()
: ByteArrays val
Returns
array
[Source]
fun box array()
: Array[U8 val] iso^
Returns
values
fun box values()
: Iterator[(this->String box | this->Array[U8 val] box)] ref
Returns