URLResponseSerializer
public struct URLResponseSerializer : DownloadResponseSerializerProtocol
A DownloadResponseSerializerProtocol that performs only Error checking and ensures that a downloaded fileURL
is present.
-
Creates an instance.
Declaration
Swift
public init() -
Declaration
Swift
public func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: (any Error)?) throws -> URL
View on GitHub
Install in Dash