DownloadResponseSerializerProtocol
public protocol DownloadResponseSerializerProtocol
The type in which all download response serializers must conform to in order to serialize a response.
-
The type of serialized object to be created by this
DownloadResponseSerializerType
.Declaration
Swift
associatedtype SerializedObject
-
A closure used by response handlers that takes a request, response, url and error and returns a result.
Declaration
Swift
var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<SerializedObject> { get }