Skip to content

Request

[Source]

HTTP Request

  • Method
  • URI
  • HTTP-Version
  • Headers
  • Transfer-Coding
  • Content-Length

Without body.

interface val Request

Public Functions

method

[Source]

fun box method()
: Method val

Returns


uri

[Source]

fun box uri()
: URL val

Returns


version

[Source]

fun box version()
: ((HTTP09 val | HTTP10 val | HTTP11 val) & _Version val)

Returns


[Source]

fun box header(
  name: String val)
: (String val | None val)

Parameters

Returns


headers

[Source]

fun box headers()
: Iterator[(String val , String val)] ref

Returns


transfer_coding

[Source]

fun box transfer_coding()
: (Chunked val | None val)

Returns


content_length

[Source]

fun box content_length()
: (USize val | None val)

Returns


has_body

[Source]

fun box has_body()
: Bool val

Returns