HTTPResponseSerializer
open class HTTPResponseSerializer : NSObject, URLResponseSerialization
Undocumented
-
Undocumented
Declaration
Swift
open var acceptableStatusCodes: IndexSet?
-
Undocumented
Declaration
Swift
open var acceptableContentTypes: Set<String>?
-
Undocumented
Declaration
Swift
override public init()
-
Undocumented
Declaration
Swift
open func setUserInfo(_ userInfo: [AnyHashable : Any]?, for response: URLResponse?)
-
Undocumented
Declaration
Swift
open func userInfo(for response: URLResponse?) -> [AnyHashable : Any]?
-
Undocumented
Declaration
Swift
open func validateResponse(_ response: URLResponse?, data: Data) throws
-
Undocumented
Declaration
Swift
open func responseObject(for response: URLResponse?, data: Data) throws -> Any
-
Undocumented
Declaration
Swift
public static let URLResponseSerializationErrorDomain: String
-
Undocumented
Declaration
Swift
public static let NetworkingOperationFailingURLResponseErrorKey: String
-
Undocumented
Declaration
Swift
public static let NetworkingOperationFailingURLResponseDataErrorKey: String
-
Undocumented
Declaration
Swift
public static func removingKeysWithNullValues(_ jsonObject: Any) -> Any