#ifndef __HTTP_RESPONSE_H__ #define __HTTP_RESPONSE_H__ #include #include "class.h" #include "http/message.h" CLASS(HttpResponse) { EXTENDS(HttpMessage); unsigned int status; char * reason; }; HttpResponse httpResponse404(); void httpResponseHeaderSet(HttpResponse, const char *, const char *); size_t httpResponseSizeGet(HttpResponse); char * httpResponseToString(HttpResponse, char *); #endif /* __HTTP_RESPONSE_H__ */ // vim: set ts=4 sw=4: