You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
300 B
22 lines
300 B
#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:
|