mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 07:08:11 +00:00
27 lines
807 B
Objective-C
27 lines
807 B
Objective-C
//
|
|
// XMLRPCHelper.h
|
|
// Linphone
|
|
//
|
|
// Created by Brieuc on 06/09/2016.
|
|
//
|
|
|
|
@interface XMLRPCHelper : NSObject
|
|
/* This class is only here to handle
|
|
*
|
|
* All the rest is implemented to do nothing
|
|
*/
|
|
|
|
+ (void)sendXMLRPCRequest:(NSString *)method;
|
|
+ (void)sendXMLRPCRequestWithParams:(NSString *)method withParams:(NSArray *)params;
|
|
+ (void)sendXMLRPCRequestWithParams:(NSString *)method
|
|
withParams:(NSArray *)params
|
|
onSuccess:(void (^)(NSString *response))block;
|
|
+ (void)sendXMLRPCRequestWithParams:(NSString *)method
|
|
withParams:(NSArray *)params
|
|
onSuccess:(void (^)(NSString *response))successBlock
|
|
onError:(void (^)(NSString *response))errorBlock;
|
|
|
|
- (void)dealWithXmlRpcResponse:(LinphoneXmlRpcRequest *)request;
|
|
- (void)displayErrorPopup:(NSString *)error;
|
|
|
|
@end
|