forked from eczarny/xmlrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXMLRPCRequest.h
51 lines (28 loc) · 857 Bytes
/
XMLRPCRequest.h
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#import <Foundation/Foundation.h>
#import "XMlRPCEncoder.h"
@interface XMLRPCRequest : NSObject {
NSMutableURLRequest *myRequest;
id<XMLRPCEncoder> myXMLEncoder;
}
- (id)initWithURL: (NSURL *)URL;
#pragma mark -
- (void)setURL: (NSURL *)URL;
- (NSURL *)URL;
#pragma mark -
- (void)setUserAgent: (NSString *)userAgent;
- (NSString *)userAgent;
#pragma mark -
- (void)setEncoder: (id<XMLRPCEncoder>) encoder;
- (void)setMethod: (NSString *)method;
- (void)setMethod: (NSString *)method withParameter: (id)parameter;
- (void)setMethod: (NSString *)method withParameters: (NSArray *)parameters;
#pragma mark -
- (NSString *)method;
- (NSArray *)parameters;
#pragma mark -
- (NSString *)body;
#pragma mark -
- (NSURLRequest *)request;
#pragma mark -
- (void)setValue: (NSString *)value forHTTPHeaderField: (NSString *)header;
@end