public protocol DataResponseSerializerProtocol
The type to which all data response serializers must conform in order to serialize a response.
The type of serialized object to be created.
Serialize the response
Datainto the provided type..
Errorproduced during serialization.
func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> SerializedObject
URLRequestwhich was used to perform the request, if any.
HTTPURLResponsereceived from the server, if any.
Datareturned from the server, if any.
Errorproduced by Alamofire or the underlying
URLSessionduring the request.