Skip to content

Status

[Source]

HTTP status code.

See: https://tools.ietf.org/html/rfc2616#section-10

interface val Status

Public Functions

apply

[Source]

Get the status code as number.

fun box apply()
: U16 val

Returns


string

[Source]

Get the status code as string including Status-Code and Reason-Phrase as it usually appears in the response status line: https://tools.ietf.org/html/rfc2616#section-6.1

fun box string()
: String val

Returns