#import #import "HTTPResponse.h" @class HTTPConnection; @interface HTTPAsyncFileResponse : NSObject { HTTPConnection *connection; NSThread *connectionThread; NSArray *connectionRunLoopModes; NSString *filePath; NSFileHandle *fileHandle; UInt64 fileLength; UInt64 fileReadOffset; UInt64 connectionReadOffset; NSData *data; BOOL asyncReadInProgress; } - (id)initWithFilePath:(NSString *)filePath forConnection:(HTTPConnection *)connection runLoopModes:(NSArray *)modes; - (NSString *)filePath; @end