HTTPDataResponse
public class HTTPDataResponse
Represents a lower-level HTTP Response.
-
The underlaying
HTTPURLResponse.Declaration
Swift
public let urlResponse: HTTPURLResponse -
The raw body of the response.
Declaration
Swift
public let data: Data -
Creates a new
HTTPDataResponse.Declaration
Swift
public init(urlResponse: HTTPURLResponse, data: Data)Parameters
urlResponseThe underlaying
HTTPURLResponse.dataThe raw body of the response.
HTTPDataResponse Class Reference