MDResponse
public class MDResponse : NSObject
A class representing a response returned from the MDApi
-
The URL of the original request
Declaration
Swift
public private(set) var url: URL { get }
-
The json string returned from the website (if any)
Declaration
Swift
public private(set) var content: String { get }
-
The error returned from the request (if any)
Declaration
Swift
public var error: MDApiError?
-
The status code of the response
Declaration
Swift
public var statusCode: Int?