request.h
300 Bytes
#ifndef __HTTP_REQUEST_H__
#define __HTTP_REQUEST_H__
#include "class.h"
CLASS(HttpRequest) {
char * http_version;
char * uri;
char * method;
struct {
char * name;
char * value;
} header[128];
char * body;
char done;
};
#endif /* __HTTP_REQUEST_H__ */
// vim: set ts=4 sw=4: