CPJSONPConnection Class Reference

List of all members.

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]


Detailed Description

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


Member Function Documentation

- (void) cancel   [implementation]

Definition at line 120 of file CPJSONPConnection.j.

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

Definition at line 52 of file CPJSONPConnection.j.

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

Definition at line 57 of file CPJSONPConnection.j.

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

Definition at line 62 of file CPJSONPConnection.j.

- (void) removeScriptTag   [implementation]

Definition at line 109 of file CPJSONPConnection.j.

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

Deprecated:

Definition at line 47 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 Thu Dec 11 01:55:50 2008 for Cappuccino by  doxygen 1.5.7.1