OSDN Git Service

e516cab2349a8ae5f5883b1e59b6731a8916f3dd
[dennco/dennco.git] / Source / platform / osx / SimpleHTTPConnection.h
1 //
2 //  SimpleHTTPConnection.h
3 //  SimpleCocoaHTTPServer
4 //
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/
9 //
10
11 #import <Cocoa/Cocoa.h>
12
13 #define DENNCO
14
15 @interface SimpleHTTPConnection : NSObject {
16     NSFileHandle *fileHandle;
17     id delegate;
18     NSString *address;  // client IP address
19
20     CFHTTPMessageRef message;
21     BOOL isMessageComplete;
22 }
23
24 - (id)initWithFileHandle:(NSFileHandle *)fh delegate:(id)dl;
25 - (NSFileHandle *)fileHandle;
26
27 - (void)setAddress:(NSString *)value;
28 - (NSString *)address;
29
30 @end