|
|||
|
|||
|


Public Member Functions | |
| void | ReadConfig () |
| ModuleHttpServer (InspIRCd *Me) | |
| virtual const char * | OnRequest (Request *request) |
| Called whenever a Request class is sent to your module by another module. | |
| virtual | ~ModuleHttpServer () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| std::vector< HttpServerSocket * > | httpsocks |
Definition at line 382 of file m_httpd.cpp.
|
|
Definition at line 413 of file m_httpd.cpp. References ModuleManager::Attach(), I_OnRequest, InspIRCd::Modules, ReadConfig(), and Module::ServerInstance. |
|
|
Definition at line 431 of file m_httpd.cpp. References InspIRCd::BufferedSocketCull(), SocketEngine::DelFd(), httpsocks, InspIRCd::SE, and Module::ServerInstance. |
|
|
Returns the version number of a Module. The method should return a Version object with its version information assigned via Version::Version Reimplemented from Module. Definition at line 442 of file m_httpd.cpp. References API_VERSION, VF_SERVICEPROVIDER, and VF_VENDOR. |
|
|
Called whenever a Request class is sent to your module by another module. Please see the documentation of Request::Send() for further information. The Request sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).
Reimplemented from Module. Definition at line 421 of file m_httpd.cpp. References claimed, Request::GetData(), HTTPDocument::GetDocument(), HTTPDocument::GetResponseCode(), HTTPDocument::headers, HttpServerSocket::Page(), and HTTPDocument::sock. |
|
|
Definition at line 387 of file m_httpd.cpp. References FileReader::Exists(), httpsocks, and Module::ServerInstance. Referenced by ModuleHttpServer(). |
|
|
Definition at line 384 of file m_httpd.cpp. Referenced by ReadConfig(), and ~ModuleHttpServer(). |