Browse Source

Remove request modifier from code base

onevcat 9 years ago
parent
commit
50b697f016
1 changed files with 0 additions and 5 deletions
  1. 0 5
      Sources/ImageDownloader.swift

+ 0 - 5
Sources/ImageDownloader.swift

@@ -177,11 +177,6 @@ open class ImageDownloader: NSObject {
     }
     }
     
     
     // MARK: - Public property
     // MARK: - Public property
-    /// This closure will be applied to the image download request before it being sent. 
-    /// You can modify the request for some customizing purpose, like adding auth token to the header, do basic HTTP auth or something like url mapping.
-    @available(*, unavailable, message: "`requestModifier` is removed. Use 'urlRequest(for:byModifying:)' from the 'ImageDownloaderDelegate' instead")
-    open var requestModifier: ((inout URLRequest) -> Void)?
-
     /// The duration before the download is timeout. Default is 15 seconds.
     /// The duration before the download is timeout. Default is 15 seconds.
     open var downloadTimeout: TimeInterval = 15.0
     open var downloadTimeout: TimeInterval = 15.0