Back to Alamofire

URLResponseSerializer

docs/docsets/Alamofire.docset/Contents/Resources/Documents/Structs/URLResponseSerializer.html

5.12.0713 B
Original Source

URLResponseSerializer

public struct URLResponseSerializer : DownloadResponseSerializerProtocol

A DownloadResponseSerializerProtocol that performs only Error checking and ensures that a downloaded fileURL is present.

`

                init()
                `

Creates an instance.

Declaration

Swift

public init()

`

                serializeDownload(request:response:fileURL:error:)
                `

Declaration

Swift

public func serializeDownload(request: URLRequest?,
                              response: HTTPURLResponse?,
                              fileURL: URL?,
                              error: (any Error)?) throws -> URL