Defines default delegate methods for upload and download progress notification.
All members of ProgressDelegate, including inherited members.
MethodsMethod | Description |
---|---|
- (void) request: (id< Requesting >) request didReceiveBytes: (long long) bytes | Delegate method called when the request receives data. |
- (void) request: (id< Requesting >) request didSendBytes: (long long) bytes | Delegate method called when the request sends data. |
- (void) request: (id< Requesting >) request incrementDownloadSizeBy: (long long) newLength | Delegate method called when the request needs to change the download content size. |
- (void) request: (id< Requesting >) request incrementUploadSizeBy: (long long) newLength | Delegate method called when the request needs to change the length of the content to be uploaded. |
- (void) setProgress: (float) newProgress | Delegate method called to update UIProgressViews. |
Protocol to be adapted by client classes to hook in for didReceiveBytes, didSendBytes, incrementDownloadSizeBy, and incrementUploadSizeBy delegates.