Allows cross domain connections using JSONP protocol. More...
#import <CPJSONPConnection.h>
Class Methods | |
(CPJSONPConnection) | + connectionWithRequest:callback:delegate: |
(CPJSONPConnection) | + sendRequest:callback:delegate: |
Class Methods inherited from CPObject | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(void) | + cancelPreviousPerformRequestsWithTarget: |
(void) | + cancelPreviousPerformRequestsWithTarget:selector:object: |
(Class) | + class |
(BOOL) | + conformsToProtocol: |
(void) | + exposeBinding: |
(void) | + initialize |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesImplementSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isBindingExclusive: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + object:performSelector:withObject:afterDelay:inModes: |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
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.
|
implementation |
Definition at line 145 of file CPJSONPConnection.j.
|
implementation |
Definition at line 55 of file CPJSONPConnection.j.
|
implementation |
Definition at line 60 of file CPJSONPConnection.j.
|
implementation |
Definition at line 65 of file CPJSONPConnection.j.
|
implementation |
Definition at line 134 of file CPJSONPConnection.j.
|
implementation |
Definition at line 50 of file CPJSONPConnection.j.
|
implementation |
Definition at line 86 of file CPJSONPConnection.j.