APIResponse
public struct APIResponse<T> where T : APIResponseValue
extension APIResponse: CustomStringConvertible, CustomDebugStringConvertible
Undocumented
-
The APIRequest used for this response
Declaration
Swift
public let request: APIRequest<T>
-
The result of the response .
Declaration
Swift
public let result: APIResult<T>
-
The URL request sent to the server.
Declaration
Swift
public let urlRequest: URLRequest?
-
The server’s response to the URL request.
Declaration
Swift
public let urlResponse: HTTPURLResponse?
-
The data returned by the server.
Declaration
Swift
public let data: Data?
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var debugDescription: String { get }
-
Undocumented
Declaration
Swift
public func asAny() -> APIResponse<AnyResponseValue>