Explorar o código

Remove request modifier from code base

onevcat %!s(int64=9) %!d(string=hai) anos
pai
achega
50b697f016
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      Sources/ImageDownloader.swift

+ 0 - 5
Sources/ImageDownloader.swift

@@ -177,11 +177,6 @@ open class ImageDownloader: NSObject {
     }
     
     // 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.
     open var downloadTimeout: TimeInterval = 15.0