Files
Monkey-Test/WebDriverAgent/Carthage/Build/iOS/RoutingHTTPServer.framework/PrivateHeaders/HTTPFileResponse.h
T
2019-01-25 17:01:52 +08:00

26 lines
425 B
Objective-C

#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