|
LeftHookRoll
An HTTP/1.0 compliant web server, as specified by RFC1945
|
Formulates the HTTP response and manages non-blocking data transmission. More...
#include <string>#include <sys/types.h>#include <map>#include <vector>#include "DataStore.hpp"#include "ServerConf.hpp"#include "Request.hpp"#include "CGIManager.hpp"Go to the source code of this file.
Classes | |
| class | Response |
Enumerations | |
| enum | ResponseState { SENDING_RES_HEAD , SENDING_BODY_STATIC , SENDING_BODY_CHUNKED } |
| Tracks the progress of sending the response to the client. More... | |
| enum | BuildPhase { BUILD_IDLE , BUILD_POST_WRITING , BUILD_CGI_RUNNING , BUILD_DONE } |
| Tracks the incremental construction of the response body. exclusivly for POST. More... | |
Formulates the HTTP response and manages non-blocking data transmission.
Definition in file Response.hpp.
| enum ResponseState |
Tracks the progress of sending the response to the client.
| Enumerator | |
|---|---|
| SENDING_RES_HEAD | |
| SENDING_BODY_STATIC | |
| SENDING_BODY_CHUNKED | |
Definition at line 23 of file Response.hpp.
| enum BuildPhase |
Tracks the incremental construction of the response body. exclusivly for POST.
| Enumerator | |
|---|---|
| BUILD_IDLE | |
| BUILD_POST_WRITING | |
| BUILD_CGI_RUNNING | |
| BUILD_DONE | |
Definition at line 35 of file Response.hpp.