ALPostbackDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ALPostbackDelegate.h |
– postbackService:didExecutePostback:
required method
Indicates that a postback dispatched to a given URL completed successfully.
- (void)postbackService:(ALPostbackService *)postbackService didExecutePostback:(NSURL *)postbackURL
Parameters
postbackURL |
URL which was notified. |
---|
Discussion
Indicates that a postback dispatched to a given URL completed successfully.
We define success as having received a 2XX response code from the remote endpoint.
Declared In
ALPostbackDelegate.h
– postbackService:didFailToExecutePostback:errorCode:
required method
Indicates that a postback dispatched to a given URL has failed.
- (void)postbackService:(ALPostbackService *)postbackService didFailToExecutePostback:(nullable NSURL *)postbackURL errorCode:(NSInteger)errorCode
Parameters
postbackURL |
URL which was notified. |
---|---|
errorCode |
HTTP status code received, if any; otherwise a negative constant. |
Discussion
Indicates that a postback dispatched to a given URL has failed.
We define failed as having received a response code outside the 2XX range, or having been unable to establish a connection.
Declared In
ALPostbackDelegate.h