|
|||
|
|||
|
#include <httpd.h>
Inheritance diagram for HTTPDocument:


Public Member Functions | |
| HTTPDocument (void *opaque, std::stringstream *doc, int response) | |
| Initialize a HTTPRequest ready for sending to m_httpd.so. | |
| std::stringstream * | GetDocument () |
| Get the document text. | |
| unsigned long | GetDocumentSize () |
| Get the document size. | |
| int | GetResponseCode () |
| Get the response code. | |
Public Attributes | |
| HTTPHeaders | headers |
| void * | sock |
| The socket pointer from an earlier HTTPRequest. | |
Protected Attributes | |
| std::stringstream * | document |
| int | responsecode |
When you initialize this class you may initialize it with all components required to form a valid HTTP response, including document data, headers, and a response code.
Definition at line 174 of file httpd.h.
|
||||||||||||||||
|
Initialize a HTTPRequest ready for sending to m_httpd.so.
|
|
|
Get the document text.
Definition at line 203 of file httpd.h. References document. Referenced by ModuleHttpServer::OnRequest(). |
|
|
Get the document size.
Definition at line 211 of file httpd.h. References document. |
|
|
Get the response code.
Definition at line 219 of file httpd.h. References responsecode. Referenced by ModuleHttpServer::OnRequest(). |
|
|
Definition at line 178 of file httpd.h. Referenced by GetDocument(), and GetDocumentSize(). |
|
|
Definition at line 183 of file httpd.h. Referenced by ModuleHTTPAccessList::BlockAccess(), ModuleRpcJson::OnEvent(), ModuleHttpStats::OnEvent(), and ModuleHttpServer::OnRequest(). |
|
|
Definition at line 179 of file httpd.h. Referenced by GetResponseCode(). |
|
|
The socket pointer from an earlier HTTPRequest.
Definition at line 187 of file httpd.h. Referenced by ModuleHttpServer::OnRequest(). |