|
Accela SDK for iOS
V3.2
|
#import <AMRequest.h>
Instance Methods | |
| (void) | - amRequestStarted: |
| (void) | - amRequest:didReceiveResponse: |
| (void) | - amRequest:didFailWithError: |
| (void) | - amRequest:didLoad: |
| (void) | - amRequest:receivedBytes:total: |
| (void) | - amRequest:sendBytes: |
Defines the methods that a delegate of a AMRequest object may implement.
All the methods defined in this protocol are optional.
Called when an error prevents the request from completing successfully.
|
optional |
Called when a request returns and its response has been parsed into an object.
The resulting object format may be a dictionary or an array.
Note that the result is nil if the amDownloadDestinationPath property bas been set to a valid value.
|
optional |
Called when the server responds and begins to send back data.
|
optional |
Called when the request receives some data.
Note that the total is 0 if there is no Content-Length variable in the HTTP herders
|
optional |
Called when the request sends some data.
|
optional |
Called just before the request is sent to the server.