/[cvs]/api/Classes/Program/WebServer/Header.h
ViewVC logotype

Annotation of /api/Classes/Program/WebServer/Header.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Jul 1 20:47:58 2001 UTC (23 years, 4 months ago) by bearsoft
Branch point for: lazy, MAIN
File MIME type: text/plain
Initial revision

1 bearsoft 1.1 #ifndef __Header_H__
2     #define __Header_H__
3    
4     #include "../../String/String.h"
5     #include "../../Binary/BinaryInput.h"
6     #include "../../LinkedList/StringLinkedList.h"
7     #include "../../String/ConfigInput.h"
8     #include "../../NetWork/PacketInfo.h"
9     #include "../../Binary/BinaryInput.h"
10     #include "../../String/StringInput.h"
11    
12     class Header
13     {
14    
15     public:
16    
17     Header(ConfigInput *iConfigInput);
18     ~Header();
19    
20     bool makeAndSendHeaderWithStringData(String &string);
21     bool makeAndSendHeaderWithMessageForbidden();
22     bool makeAndSendHeaderWithMessageNotFound();
23     bool makeAndSendHeaderWithBinaryData(BinaryInput *binaryInput, String &contentType);
24     bool Header::makeAndSendHeaderErrorMessage(String &status);
25    
26     int socket;
27     ConfigInput *configInput;
28     String *protocolType;
29     String *filePath;
30     String *filePathWithoutRootPath;
31     String *rootPath;
32     StringInput *stringInput;
33    
34     };
35    
36     #endif

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26