WLResponseSwift
public class WLResponseSwift
Contains the response from the server like status, responseData
-
Retrieves the HTTP status from the response.
Declaration
Swift
public var status: NSInteger
-
error in case of fail response
Declaration
Swift
public var error: Error?
-
Invocation context object passed when calling invokeProcedure.
Declaration
Swift
public var invocationContext: NSObject?
-
Returns the value Dictionary in case the response is a JSON response, otherwise it returns the value nil.
Declaration
Swift
public var responseJSON: [AnyHashable : Any]?
-
Original response text from the server
Declaration
Swift
public var responseText: String
-
Retrieves the headers from the response.
Declaration
Swift
public var headers: [AnyHashable : Any]?
-
Original response data from the server.
Declaration
Swift
public var responseData: Data?
-
User info dictionary
Declaration
Swift
public var userInfoDict: [AnyHashable : Any]?