status

abstract fun status(): <ERROR CLASS>?

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


abstract fun status(value: <ERROR CLASS>)

Specifies a status code for a response.