The HTTP status for this response.
var status: HTTPResponseStatus
s15AsyncHTTPClient0B8ResponseV6status8NIOHTTP118HTTPResponseStatusOvp
2AYFY
import AsyncHTTPClient
This package provides simple HTTP Client library built on top of SwiftNIO.
struct HTTPClientResponse
A representation of an HTTP response for the Swift Concurrency HTTPClient API.
enum HTTPResponseStatus
A HTTP response status code.
init(version: HTTPVersion = .http1_1, status: HTTPResponseStatus = .ok, headers: HTTPHeaders = [:], body: Body = Body())
var body: Body
The body of this HTTP response.
var headers: HTTPHeaders
The HTTP headers of this response.
var version: HTTPVersion
The HTTP version on which the response was received.
struct Body
A representation of the response body for an HTTP response.