Public Member Functions | |
(id) | - initWithRequest:callback:delegate: [implementation] |
(id) | - initWithRequest:callback:delegate:startImmediately: [implementation] |
(void) | - start [implementation] |
(void) | - removeScriptTag [implementation] |
(void) | - cancel [implementation] |
Static Public Member Functions | |
(CPJSONPConnection) | + sendRequest:callback:delegate: [implementation] |
(CPJSONPConnection) | + connectionWithRequest:callback:delegate: [implementation] |
Important note: CPJSONPConnection is only for JSONP APIs. If aren't sure you need JSONP, you most likely don't want to use CPJSONPConnection, but rather the more standard CPURLConnection. CPJSONPConnection is designed for cross-domain connections, and if you are making requests to the same domain (as most web applications do), you do not need it.
Definition at line 41 of file CPJSONPConnection.j.
- (void) cancel | [implementation] |
Definition at line 124 of file CPJSONPConnection.j.
+ (CPJSONPConnection) connectionWithRequest: | (CPURLRequest) | aRequest | ||
callback: | (CPString) | callbackParameter | ||
delegate: | (id) | aDelegate | ||
[implementation] |
Definition at line 56 of file CPJSONPConnection.j.
- (id) initWithRequest: | (CPURLRequest) | aRequest | ||
callback: | (CPString) | aString | ||
delegate: | (id) | aDelegate | ||
[implementation] |
Definition at line 61 of file CPJSONPConnection.j.
- (id) initWithRequest: | (CPURLRequest) | aRequest | ||
callback: | (CPString) | aString | ||
delegate: | (id) | aDelegate | ||
startImmediately: | (BOOL) | shouldStartImmediately | ||
[implementation] |
Definition at line 66 of file CPJSONPConnection.j.
- (void) removeScriptTag | [implementation] |
Definition at line 113 of file CPJSONPConnection.j.
+ (CPJSONPConnection) sendRequest: | (CPURLRequest) | aRequest | ||
callback: | (CPString) | callbackParameter | ||
delegate: | (id) | aDelegate | ||
[implementation] |
Definition at line 51 of file CPJSONPConnection.j.
- (void) start | [implementation] |
Definition at line 89 of file CPJSONPConnection.j.