|
server 0.0.1
basicserverinfrastructure
|
00001 #ifndef __HTTP_REQUEST_H__ 00002 #define __HTTP_REQUEST_H__ 00003 00004 #include "class.h" 00005 00006 CLASS(HttpRequest) { 00007 char * http_version; 00008 char * uri; 00009 char * method; 00010 00011 struct { 00012 char * name; 00013 char * value; 00014 } header[128]; 00015 00016 char * body; 00017 char done; 00018 }; 00019 00020 #endif /* __HTTP_REQUEST_H__ */ 00021 00022 // vim: set ts=4 sw=4: