Another abandoned server code base... this is kind of an ancestor of taskrambler.
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.
 
 
 
 
 
 

28 lines
438 B

#ifndef __HTTP_MESSAGE__
#define __HTTP_MESSAGE__
#include "class.h"
#include "http/header.h"
typedef enum e_HttpMessageType {
HTTP_MESSAGE_BUFFERED=0,
HTTP_MESSAGE_PIPED
} HttpMessageType;
CLASS(HttpMessage) {
char * version;
HttpHeader header;
HttpMessageType type;
union {
char * buffer;
int handle;
} body;
int nbody;
};
#endif // __HTTP_MESSAGE__
// vim: set ts=4 sw=4: