Torc
0.1
|
Handles the provision of dynamic content as typically located in ~/.torc/content. More...
#include <torchtmldynamiccontent.h>
Public Member Functions | |
TorcHTMLDynamicContent () | |
void | ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override |
Public Member Functions inherited from TorcHTTPHandler | |
TorcHTTPHandler (const QString &Signature, const QString &Name) | |
virtual | ~TorcHTTPHandler () |
QString | Signature (void) const |
bool | GetRecursive (void) const |
QString | Name (void) const |
virtual QVariantMap | ProcessRequest (const QString &Method, const QVariant &Parameters, QObject *Connection, bool Authenticated) |
Additional Inherited Members | |
Static Protected Member Functions inherited from TorcHTTPHandler | |
static bool | MethodIsAuthorised (TorcHTTPRequest &Request, int Allowed) |
Check the current request is authorised and set the authentication header if not. More... | |
static void | HandleOptions (TorcHTTPRequest &Request, int Allowed) |
static void | HandleFile (TorcHTTPRequest &Request, const QString &Filename, int Cache) |
Protected Attributes inherited from TorcHTTPHandler | |
QString | m_signature |
bool | m_recursive |
QString | m_name |
Handles the provision of dynamic content as typically located in ~/.torc/content.
Definition at line 7 of file torchtmldynamiccontent.h.
TorcHTMLDynamicContent::TorcHTMLDynamicContent | ( | ) |
Definition at line 37 of file torchtmldynamiccontent.cpp.
|
overridevirtual |
Implements TorcHTTPHandler.
Definition at line 55 of file torchtmldynamiccontent.cpp.