CPJSONPConnection Class Reference
[Foundation]

Allows cross domain connections using JSONP protocol. More...

List of all members.

Public Member Functions

(void) - cancel [implementation]
(id) - initWithRequest:callback:delegate: [implementation]
(id) - initWithRequest:callback:delegate:startImmediately: [implementation]
(void) - removeScriptTag [implementation]
(void) - start [implementation]

Static Public Member Functions

(CPJSONPConnection+ connectionWithRequest:callback:delegate: [implementation]
(CPJSONPConnection+ sendRequest:callback:delegate: [implementation]

Detailed Description

Allows cross domain connections using JSONP protocol.

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 42 of file CPJSONPConnection.j.


Member Function Documentation

- (void) cancel   [implementation]

Definition at line 137 of file CPJSONPConnection.j.

+ (CPJSONPConnection) connectionWithRequest: (CPURLRequest aRequest
callback: (CPString callbackParameter
delegate: (id)  aDelegate 
[implementation]

Definition at line 57 of file CPJSONPConnection.j.

- (id) initWithRequest: (CPURLRequest aRequest
callback: (CPString aString
delegate: (id)  aDelegate 
[implementation]

Definition at line 62 of file CPJSONPConnection.j.

- (id) initWithRequest: (CPURLRequest aRequest
callback: (CPString aString
delegate: (id)  aDelegate
startImmediately: (BOOL)  shouldStartImmediately 
[implementation]

Definition at line 67 of file CPJSONPConnection.j.

- (void) removeScriptTag   [implementation]

Definition at line 126 of file CPJSONPConnection.j.

+ (CPJSONPConnection) sendRequest: (CPURLRequest aRequest
callback: (CPString callbackParameter
delegate: (id)  aDelegate 
[implementation]
Deprecated:

Definition at line 52 of file CPJSONPConnection.j.

- (void) start   [implementation]

Definition at line 85 of file CPJSONPConnection.j.


The documentation for this class was generated from the following file:

Generated on Fri Apr 9 11:04:21 2010 for Cappuccino API by  doxygen 1.6.1