status

abstract fun status(): HttpStatusCode?

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

Report a problem


abstract fun status(value: HttpStatusCode)

Specifies a status code for a response.

Report a problem