Filestack Documentation

Class Download​Response

@objc(FSNetworkDownloadResponse)
public class DownloadResponse: NSObject  

This object represents a network download response.

DownloadResponse DownloadResponse NSObject NSObject DownloadResponse->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.

temporary​URL

@objc public let temporaryURL: URL? 

The temporary destination URL of the data returned from the server.

destination​URL

@objc public let destinationURL: URL? 

The final destination URL of the data returned from the server if it was moved.

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: