RestResponse
public struct RestResponse<T>Contains data associated with a finished network request,
with T being the type of response we expect to receive.
- 
                  
                  The response host. DeclarationSwift public var host: String
- 
                  
                  The HTTP status code. DeclarationSwift public var status: HTTPResponseStatus
- 
                  
                  The HTTP headers. DeclarationSwift public var headers: HTTPHeaders
- 
                  
                  The HTTP request that was sent to get this response. DeclarationSwift public var request: HTTPClient.Request
- 
                  
                  The body of the response as the expected type. DeclarationSwift public var body: T
- 
                  
                  The cookies from the response. DeclarationSwift public var cookies: [HTTPClient.Cookie]
 View on GitHub
            View on GitHub
           RestResponse Structure Reference
      RestResponse Structure Reference