response.h
522 Bytes
#ifndef __HTTP_RESPONSE_H__
#define __HTTP_RESPONSE_H__
#include <time.h>
#include <sys/types.h>
#include "class.h"
#include "http/message.h"
CLASS(HttpResponse) {
EXTENDS(HttpMessage);
unsigned int status;
char * reason;
};
HttpResponse httpResponse304(int, const char *);
HttpResponse httpResponse404();
HttpResponse httpResponseMe();
HttpResponse httpResponseImage(int);
//void httpResponseHeaderSet(HttpResponse, const char *, const char *);
#endif /* __HTTP_RESPONSE_H__ */
// vim: set ts=4 sw=4: