JSONRPCService Class Reference
The class representing a JSON-RPC WebService (identified by an URL to call methods to). It handle JSON-RPC v1.0 WebServices.
More...
#import <JSONRPCService.h>
List of all members.
Detailed Description
The class representing a JSON-RPC WebService (identified by an URL to call methods to). It handle JSON-RPC v1.0 WebServices.
Member Function Documentation
Method to call a JSON-RPC method on the WebService.
- Parameters:
-
- Returns:
- a JSONRPCResponseHandler object that allows you to define a delegate, callback and resultClass to use upon the WebService's response.
Designed method to call a JSON-RPC method on the WebService.
- Parameters:
-
- Returns:
- a JSONRPCResponseHandler object that allows you to define a delegate, callback and resultClass to use upon the WebService's response.
- (JSONRPCResponseHandler *) callMethodWithName: |
|
(NSString *) |
methodName |
namedParameters: |
|
(NSDictionary*) |
params | |
|
|
| | |
Commodity method to call a JSON-RPC method on the WebService.
- Parameters:
-
| methodName | the name of the method to call on the WebService |
| params | the dictionary of named parameters to pass to the method call |
- Returns:
- a JSONRPCResponseHandler object that allows you to define a delegate, callback and resultClass to use upon the WebService's response.
Commodity method to call a JSON-RPC method on the WebService.
- Parameters:
-
| methodName | the name of the method to call on the WebService |
| params | the array of parameters to pass to the method call |
- Returns:
- a JSONRPCResponseHandler object that allows you to define a delegate, callback and resultClass to use upon the WebService's response.
- (JSONRPCResponseHandler *) callMethodWithNameAndNamedParams: |
|
(NSString *) |
methodName |
, |
|
|
NS_REQUIRES_NIL_TERMINATION | |
|
|
| | |
Commodity method to call a JSON-RPC method on the WebService.
- Parameters:
-
| methodName | the name of the method to call on the WebService |
| NS_REQUIRES_NIL_TERMINATION | the subsequent parameters are the parameters values and names for the JSON-RPC method. This list of parameters must have a even number of items, alternating the parameter value with the corresponding parameter name, and must be nil-terminated (as in NSDictionary's dictionaryWithObjectsAndKeys:) |
- Returns:
- a JSONRPCResponseHandler object that allows you to define a delegate, callback and resultClass to use upon the WebService's response.
- (JSONRPCResponseHandler *) callMethodWithNameAndParams: |
|
(NSString *) |
methodName |
, |
|
|
NS_REQUIRES_NIL_TERMINATION | |
|
|
| | |
Commodity method to call a JSON-RPC method on the WebService.
- Parameters:
-
| methodName | the name of the method to call on the WebService |
| NS_REQUIRES_NIL_TERMINATION | the subsequent parameters are the parameters sent to the JSON-RPC method. This list of parameters must be nil-terminated. |
- Returns:
- a JSONRPCResponseHandler object that allows you to define a delegate, callback and resultClass to use upon the WebService's response.
Designed initializer
- Parameters:
-
| url | the URL of the WebService. |
| version | the JSON-RPC version supported by the WebService |
Commodity constructor
- Parameters:
-
| url | the URL of the WebService. |
| version | the JSON-RPC version supported by the WebService |