request.h
392 Bytes
#ifndef __HTTP_REQUEST_H__
#define __HTTP_REQUEST_H__
#include "class.h"
#include "http/header.h"
CLASS(HttpRequest) {
char * method;
char * uri;
char * version;
HttpHeader header[128];
int nheader;
char * body;
int nbody;
};
char *
httpRequestHeaderGet(HttpRequest this, const char * name);
#endif /* __HTTP_REQUEST_H__ */
// vim: set ts=4 sw=4: