DownloadRequest_Options - SwiftDocOrg/Alamofire GitHub Wiki

DownloadRequest.Options

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

public struct Options:​ OptionSet

Inheritance

OptionSet

Initializers

init(rawValue:​)

public init(rawValue:​ Int)

Properties

createIntermediateDirectories

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

let createIntermediateDirectories

removePreviousFile

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

let removePreviousFile

rawValue

Returns the raw bitmask value of the option and satisfies the RawRepresentable protocol.

let rawValue:​ Int