LuxChat  2.0
Instant messenger for iOS
Instance Methods | Properties | List of all members
SDWebImageDownloaderOperation Class Reference
Inheritance diagram for SDWebImageDownloaderOperation:
<SDWebImageOperation>

Instance Methods

(id) - initWithRequest:options:progress:completed:cancelled:
 
- Instance Methods inherited from <SDWebImageOperation>
(void) - cancel
 

Properties

NSURLRequest * request
 
BOOL shouldDecompressImages
 
BOOL shouldUseCredentialStorage
 
NSURLCredential * credential
 
SDWebImageDownloaderOptions options
 
NSInteger expectedSize
 
NSURLResponse * response
 

Method Documentation

- (id) initWithRequest: (NSURLRequest *)  request
options: (SDWebImageDownloaderOptions)  options
progress: (SDWebImageDownloaderProgressBlock)  progressBlock
completed: (SDWebImageDownloaderCompletedBlock)  completedBlock
cancelled: (SDWebImageNoParamsBlock)  cancelBlock 

Initializes a SDWebImageDownloaderOperation object

See also
SDWebImageDownloaderOperation
Parameters
requestthe URL request
optionsdownloader options
progressBlockthe block executed when a new chunk of data arrives.
Note
the progress block is executed on a background queue
Parameters
completedBlockthe 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
cancelBlockthe block executed if the download (operation) is cancelled
Returns
the initialized instance

Property Documentation

- (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: