| - (id) initWithRequest: |
|
(NSURLRequest *) |
request |
| options: |
|
(SDWebImageDownloaderOptions) |
options |
| progress: |
|
(SDWebImageDownloaderProgressBlock) |
progressBlock |
| completed: |
|
(SDWebImageDownloaderCompletedBlock) |
completedBlock |
| cancelled: |
|
(SDWebImageNoParamsBlock) |
cancelBlock |
|
|
| |
Initializes a SDWebImageDownloaderOperation object
- See also
- SDWebImageDownloaderOperation
- Parameters
-
| request | the URL request |
| options | downloader options |
| progressBlock | the block executed when a new chunk of data arrives. |
- Note
- the progress block is executed on a background queue
- Parameters
-
| completedBlock | the block executed when the download is done. |
- Note
- the completed block is executed on the main queue for success. If errors are found, there is a chance the block will be executed on a background queue
- Parameters
-
| cancelBlock | the block executed if the download (operation) is cancelled |
- Returns
- the initialized instance
| - (NSURLCredential*) credential |
|
readwritenonatomicstrong |
The credential used for authentication challenges in -connection:didReceiveAuthenticationChallenge:.
This will be overridden by any shared credentials that exist for the username or password of the request URL, if present.
| - (NSInteger) expectedSize |
|
readwritenonatomicassign |
The expected size of data.
| - (SDWebImageDownloaderOptions) options |
|
readnonatomicassign |
The SDWebImageDownloaderOptions for the receiver.
| - (NSURLRequest*) request |
|
readnonatomicstrong |
The request used by the operation's connection.
| - (NSURLResponse*) response |
|
readwritenonatomicstrong |
The response returned by the operation's connection.
| - (BOOL) shouldUseCredentialStorage |
|
readwritenonatomicassign |
Whether the URL connection should consult the credential storage for authenticating the connection. YES by default.
This is the value that is returned in the NSURLConnectionDelegate method -connectionShouldUseCredentialStorage:.
The documentation for this class was generated from the following files: