mirror of
https://github.com/dsward2/macSVG.git
synced 2026-03-02 18:23:58 +01:00
26 lines
425 B
Objective-C
Executable File
26 lines
425 B
Objective-C
Executable File
#import <Foundation/Foundation.h>
|
|
#import "HTTPResponse.h"
|
|
|
|
@class HTTPConnection;
|
|
|
|
|
|
@interface HTTPFileResponse : NSObject <HTTPResponse>
|
|
{
|
|
HTTPConnection *connection;
|
|
|
|
NSString *filePath;
|
|
UInt64 fileLength;
|
|
UInt64 fileOffset;
|
|
|
|
BOOL aborted;
|
|
|
|
int fileFD;
|
|
void *buffer;
|
|
NSUInteger bufferSize;
|
|
}
|
|
|
|
- (id)initWithFilePath:(NSString *)filePath forConnection:(HTTPConnection *)connection;
|
|
- (NSString *)filePath;
|
|
|
|
@end
|