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.
20 lines
383 B
20 lines
383 B
#ifndef __HTTP_WORKER_H__
|
|
#define __HTTP_WORKER_H__
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "class.h"
|
|
#include "http/request/parser.h"
|
|
#include "http/response/writer.h"
|
|
|
|
CLASS(HttpWorker) {
|
|
HttpRequestParser parser;
|
|
HttpResponseWriter writer;
|
|
};
|
|
|
|
ssize_t httpWorkerProcess(HttpWorker, int);
|
|
ssize_t httpWorkerWrite(HttpWorker, int);
|
|
|
|
#endif // __HTTP_WORKER_H__
|
|
|
|
// vim: set ts=4 sw=4:
|