forked from nikolaykasyanov/xmlrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXMLRPCConnectionDelegate.h
More file actions
27 lines (17 loc) · 829 Bytes
/
XMLRPCConnectionDelegate.h
File metadata and controls
27 lines (17 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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