server 0.0.1
basicserverinfrastructure

include/http/request.h

Go to the documentation of this file.
00001 #ifndef __HTTP_REQUEST_H__
00002 #define __HTTP_REQUEST_H__
00003 
00004 #include "class.h"
00005 #include "http/header.h"
00006 
00007 CLASS(HttpRequest) {
00008         char *     method;
00009         char *     uri;
00010         char *     version;
00011         
00012         HttpHeader header[128];
00013         int        nheader;
00014 
00015         char *     body;
00016         int        nbody;
00017 };
00018 
00019 char *
00020 httpRequestHeaderGet(HttpRequest this, const char * name);
00021 
00022 #endif /* __HTTP_REQUEST_H__ */
00023 
00024 // vim: set ts=4 sw=4:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines