Declared in SDWebImageDownloader.h

SDWebImageDownloaderOptions

Definition

typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions ) {
   SDWebImageDownloaderLowPriority = 1 < < 0,
   SDWebImageDownloaderProgressiveDownload = 1 < < 1,
   SDWebImageDownloaderUseNSURLCache = 1 < < 2,
   SDWebImageDownloaderIgnoreCachedResponse = 1 < < 3,
   SDWebImageDownloaderContinueInBackground = 1 < < 4,
   SDWebImageDownloaderHandleCookies = 1 < < 5,
   SDWebImageDownloaderAllowInvalidSSLCertificates = 1 < < 6,
   SDWebImageDownloaderHighPriority = 1 < < 7,
};

Constants

SDWebImageDownloaderLowPriority

SDWebImageDownloader.h.

SDWebImageDownloaderProgressiveDownload

SDWebImageDownloader.h.

SDWebImageDownloaderUseNSURLCache

By default, request prevent the of NSURLCache. With this flag, NSURLCache is used with default policies.

SDWebImageDownloader.h.

SDWebImageDownloaderIgnoreCachedResponse

Call completion block with nil image/imageData if the image was read from NSURLCache (to be combined with SDWebImageDownloaderUseNSURLCache).

SDWebImageDownloader.h.

SDWebImageDownloaderContinueInBackground

In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for extra time in background to let the request finish. If the background task expires the operation will be cancelled.

SDWebImageDownloader.h.

SDWebImageDownloaderHandleCookies

Handles cookies stored in NSHTTPCookieStore by setting NSMutableURLRequest.HTTPShouldHandleCookies = YES;

SDWebImageDownloader.h.

SDWebImageDownloaderAllowInvalidSSLCertificates

Enable to allow untrusted SSL ceriticates. Useful for testing purposes. Use with caution in production.

SDWebImageDownloader.h.

SDWebImageDownloaderHighPriority

Put the image in the high priority queue.

SDWebImageDownloader.h.