Filestack Documentation

Class Data​Response

@objc(FSNetworkDataResponse)
public class DataResponse: NSObject  

This object represents a network data response.

DataResponse DataResponse NSObject NSObject DataResponse->NSObject

Conforms To

NSObject

Properties

request

@objc public let request: URLRequest? 

The URL request sent to the server.

response

@objc public let response: HTTPURLResponse? 

The server's response to the URL request.

data

@objc public let data: Data? 

The data returned by the server.

error

@objc public var error: Swift.Error? 

Returns the associated error value if the result if it is a failure, nil otherwise.

description

override public var description: String  

:nodoc: