Filestack Documentation

Class JSONResponse

@objc(FSNetworkJSONResponse)
public class JSONResponse: NSObject  

This object represents a network JSON response.

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

json

@objc public let json: [String: Any]? 

The JSON returned by the server.

context

@objc public let context: Any? 

Optionally, some associated context.

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: