|
server 0.0.1
basicserverinfrastructure
|
00001 #ifndef __HTTP_RESPONSE_H__ 00002 #define __HTTP_RESPONSE_H__ 00003 00004 #include "class.h" 00005 00006 CLASS(HttpResponse) { 00007 char * http_version; 00008 char * status; 00009 char * reson; 00010 00011 HttpHeader header[128]; 00012 int nheader; 00013 00014 char * body; 00015 int nbody; 00016 }; 00017 00018 char * 00019 httpRequestHeaderGet(HttpRequest this, const char * name); 00020 00021 #endif /* __HTTP_RESPONSE_H__ */ 00022 00023 // vim: set ts=4 sw=4: