ktor-client-core / io.ktor.client.statement / HttpResponse / status

status

abstract val status: HttpStatusCode

The HttpStatusCode returned by the server. It includes both, the HttpStatusCode.description and the HttpStatusCode.value (code).