DownloadResponse
@objc(FSNetworkDownloadResponse)
public class DownloadResponse : NSObject
This object represents a network download response.
-
The URL request sent to the server.
Declaration
Swift
@objc public let request: URLRequest? -
The server’s response to the URL request.
Declaration
Swift
@objc public let response: HTTPURLResponse? -
The temporary destination URL of the data returned from the server.
Declaration
Swift
@objc public let temporaryURL: URL? -
The final destination URL of the data returned from the server if it was moved.
Declaration
Swift
@objc public let destinationURL: URL? -
Returns the associated error value if the result if it is a failure,
nilotherwise.Declaration
Swift
@objc public var error: Swift.Error?
View on GitHub
DownloadResponse Class Reference