Mark Slee | 2ac60ed | 2007-09-19 21:10:18 +0000 | [diff] [blame^] | 1 | #import <Cocoa/Cocoa.h> |
2 | #import "TTransport.h" | ||||
3 | |||||
4 | @interface THTTPClient : NSObject <TTransport> { | ||||
5 | NSURL * mURL; | ||||
6 | NSMutableURLRequest * mRequest; | ||||
7 | NSMutableData * mRequestData; | ||||
8 | NSData * mResponseData; | ||||
9 | int mResponseDataOffset; | ||||
10 | } | ||||
11 | |||||
12 | - (id) initWithURL: (NSURL *) aURL; | ||||
13 | |||||
14 | - (id) initWithURL: (NSURL *) aURL | ||||
15 | timeout: (int) timeout; | ||||
16 | |||||
17 | @end | ||||
18 |