HttpResponse
public struct HttpResponse : Equatable, Hashable
extension HttpResponse: Sendable
An HttpResponse used for PKI hooks.
-
HTTP status code
Declaration
Swift
public var status: UInt16 -
List of header fields
Declaration
Swift
public var headers: [HttpHeader] -
HTTP body
Declaration
Swift
public var body: Data -
Undocumented
Declaration
Swift
public init( /** * HTTP status code */status: UInt16, /** * List of header fields */headers: [HttpHeader], /** * HTTP body */body: Data)