DownloadRequestType

public enum DownloadRequestType

Types of DownloadAPIRequest.

  • Will create NSURLSessionDownloadTask using downloadTaskWithRequest(_) method

    Declaration

    Swift

    case download(DownloadRequest.Destination)
  • Will create NSURLSessionDownloadTask using downloadTaskWithResumeData(_) method

    Declaration

    Swift

    case downloadResuming(data: Data, destination: DownloadRequest.Destination)