PipeableHTTPResponse
public struct PipeableHTTPResponse : Decodable
Represents the HTTP response received from navigating to a URL or making an HTTP request. This structure is used to capture and provide details about the HTTP response, including the status code and headers.
-
The HTTP status code of the response.
Declaration
Swift
public var status: Int -
A dictionary containing the HTTP headers of the response. The keys are header field names, and the values are the corresponding header field values.
Declaration
Swift
public var headers: [String : String]
View on GitHub
PipeableHTTPResponse Structure Reference