SessionDelegate

open class SessionDelegate : NSObject

Class which implements the various URLSessionDelegate methods to connect various Alamofire features.

  • Creates an instance from the given FileManager.

    Declaration

    Swift

    public init(fileManager: FileManager = .default)

    Parameters

    fileManager

    FileManager to use for underlying file management, such as moving downloaded files. .default by default.