<RMCallProtocol> Protocol Reference
Provides call protocol interface/implementation.
More...
#import <RMCall.h>
List of all members.
Detailed Description
Provides call protocol interface/implementation.
Definition at line 17 of file RMCall.h.
Member Function Documentation
- (BOOL) requestShouldSend: |
|
(ASIFormDataRequest *) |
request |
method: |
|
(NSString *) |
method |
arguments: |
|
(NSDictionary *) |
arguments | |
|
|
| | [optional] |
Should the request be sent?
- Parameters:
-
| request | The request object. |
| method | The method name. |
| arguments | The arguments for the call. |
- Returns:
- Whether this request should be sent.
- (void) requestWillSend: |
|
(ASIFormDataRequest *) |
request |
method: |
|
(NSString *) |
method |
arguments: |
|
(NSDictionary *) |
arguments | |
|
|
| | [optional] |
An event fired just before the request is sent.
- Parameters:
-
| request | The request object. |
| method | The method name. |
| arguments | The arguments for the call. |
- (void) requestDidSend: |
|
(ASIFormDataRequest *) |
request |
method: |
|
(NSString *) |
method |
arguments: |
|
(NSDictionary *) |
arguments | |
|
|
| | [optional] |
An event fired just after the request is sent.
- Parameters:
-
| request | The request object. |
| method | The method name. |
| arguments | The arguments for the call. |
- (void) adjustRequest: |
|
(ASIFormDataRequest *) |
request |
method: |
|
(NSString *) |
method |
arguments: |
|
(NSDictionary *) |
arguments | |
|
|
| | [required] |
Adjust the request object according to this call protocol.
- Parameters:
-
| request | The request object. |
| method | The method name. |
| arguments | The arguments for the call. |
- (BOOL) isAsynchronous |
|
|
|
[optional] |
Whether the call protocol is asynchronous.
- Returns:
- the call protocol is asynchronous or not, defaults to YES
The documentation for this protocol was generated from the following file:
- /Users/yxh/Code/XCode/WIRemoting/Source/Classes/RMCall.h