status

abstract fun status(): HttpStatusCode?

Returns a response status code or null if a status code is not set.


abstract fun status(value: HttpStatusCode)

Specifies a status code for a response.