Implements a simple connection delegate designed for collecting the response, including the body data, and for working around SSL challenges.
More...
#import <ARURLConnectionDelegate.h>
Implements a simple connection delegate designed for collecting the response, including the body data, and for working around SSL challenges.
Definition at line 33 of file ARURLConnectionDelegate.h.
- (BOOL) connection: |
|
(NSURLConnection *) |
connection |
canAuthenticateAgainstProtectionSpace: |
|
(NSURLProtectionSpace *) |
protectionSpace |
|
|
| |
|
implementation |
- (void) connection: |
|
(NSURLConnection *) |
connection |
didFailWithError: |
|
(NSError *) |
error |
|
|
| |
|
implementation |
- (void) connection: |
|
(NSURLConnection *) |
connection |
didReceiveAuthenticationChallenge: |
|
(NSURLAuthenticationChallenge *) |
challenge |
|
|
| |
|
implementation |
Responds to authentication challenges.
The connection cannot continue without credentials in order to access HTTPS resources. Creates a credential, passing it to the authentication challenge's sender. Sends “server trust” provided by the protection space of the authentication challenge.
Definition at line 55 of file ARURLConnectionDelegate.m.
- (void) connection: |
|
(NSURLConnection *) |
connection |
didReceiveData: |
|
(NSData *) |
data |
|
|
| |
|
implementation |
- (void) connection: |
|
(NSURLConnection *) |
connection |
didReceiveResponse: |
|
(NSURLResponse *) |
response |
|
|
| |
|
implementation |
- (void) connectionDidFinishLoading: |
|
(NSURLConnection *) |
connection |
|
|
implementation |
- (NSURLResponse*) response |
|
readwriteatomicstrong |
The documentation for this class was generated from the following files: