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