API 0.9.5
CPJSONPConnection Class Reference

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

#import <CPJSONPConnection.h>

Inheritance diagram for CPJSONPConnection:

List of all members.

Instance Methods

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

Class Methods

(CPJSONPConnection+ connectionWithRequest:callback:delegate:
(CPJSONPConnection+ sendRequest:callback:delegate:

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 2 of file CPJSONPConnection.h.


Method Documentation

- (void) cancel

Definition at line 145 of file CPJSONPConnection.j.

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

Definition at line 55 of file CPJSONPConnection.j.

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

Definition at line 60 of file CPJSONPConnection.j.

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

Definition at line 65 of file CPJSONPConnection.j.

- (void) removeScriptTag

Definition at line 134 of file CPJSONPConnection.j.

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

Definition at line 50 of file CPJSONPConnection.j.

- (void) start

Definition at line 86 of file CPJSONPConnection.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines