Back to Alamofire

Options

docs/docsets/Alamofire.docset/Contents/Resources/Documents/Classes/DownloadRequest/Options.html

5.12.0935 B
Original Source

Options

public struct Options : OptionSet, Sendable

A set of options to be executed prior to moving a downloaded file from the temporary URL to the destination URL.

`

                createIntermediateDirectories
                `

Specifies that intermediate directories for the destination URL should be created.

Declaration

Swift

public static let createIntermediateDirectories: DownloadRequest.Options

`

                removePreviousFile
                `

Specifies that any previous file at the destination URL should be removed.

Declaration

Swift

public static let removePreviousFile: DownloadRequest.Options

`

                rawValue
                `

Declaration

Swift

public let rawValue: Int

`

                init(rawValue:)
                `

Declaration

Swift

public init(rawValue: Int)