linphone-iphone/Classes/Utils/XMLRPC/XMLRPCConnectionDelegate.h
2012-08-02 15:02:39 +02:00

27 lines
829 B
Objective-C
Executable file

#import <Foundation/Foundation.h>
@class XMLRPCConnection, XMLRPCRequest, XMLRPCResponse;
@protocol XMLRPCConnectionDelegate<NSObject>
@required
- (void)request: (XMLRPCRequest *)request didReceiveResponse: (XMLRPCResponse *)response;
@optional
- (void)request: (XMLRPCRequest *)request didSendBodyData: (float)percent;
@required
- (void)request: (XMLRPCRequest *)request didFailWithError: (NSError *)error;
#pragma mark -
@required
- (BOOL)request: (XMLRPCRequest *)request canAuthenticateAgainstProtectionSpace: (NSURLProtectionSpace *)protectionSpace;
@required
- (void)request: (XMLRPCRequest *)request didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
@required
- (void)request: (XMLRPCRequest *)request didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge;
@end