2 // SimpleHTTPConnection.h
3 // SimpleCocoaHTTPServer
5 // Created by Jürgen Schweizer on 13.09.06.
6 // Copyright 2006 Cultured Code.
7 // License: Creative Commons Attribution 2.5 License
8 // http://creativecommons.org/licenses/by/2.5/
11 #import <Cocoa/Cocoa.h>
15 @interface SimpleHTTPConnection : NSObject {
16 NSFileHandle *fileHandle;
18 NSString *address; // client IP address
20 CFHTTPMessageRef message;
21 BOOL isMessageComplete;
24 - (id)initWithFileHandle:(NSFileHandle *)fh delegate:(id)dl;
25 - (NSFileHandle *)fileHandle;
27 - (void)setAddress:(NSString *)value;
28 - (NSString *)address;