DTXMLRPCService Class Reference
Inherits from | NSObject |
Declared in | DTXMLRPCService.h |
Overview
An XML-RPC service. The service is created with an end-point to which DTXMLRPCRequest objects are sent.
Instance Methods
initWithEndpointURL:
Creates an XML-RPC service with a given endpoint.
- (id)initWithEndpointURL:(NSURL *)endpointURL
Parameters
- endpointURL
The endpoint URL to send all function calls to
Declared In
DTXMLRPCService.h
sendRequest:completion:
Sends an XML-RPC request asynchronously and executes the completion handler upon completion
- (void)sendRequest:(DTXMLRPCRequest *)request completion:(DTXMLRPCRequestCompletionHandler)completion
Parameters
- request
The XML-RPC request to send
- completion
The completion handler.
Discussion
In case of an error in the underlying NSURLConnection the error is contained in the error parameter of the DTXMLRPCResponse passed to the completion block.
Declared In
DTXMLRPCService.h