Torc  0.1
torchtmldynamiccontent.h
Go to the documentation of this file.
1 #ifndef TORCHTMLDYNAMICCONTENT_H
2 #define TORCHTMLDYNAMICCONTENT_H
3 
4 // Torc
5 #include "torchttphandler.h"
6 
8 {
9  public:
11  void ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override;
12 
13  private:
14  QString m_pathToContent;
15 };
16 
17 #endif // TORCHTMLDYNAMICCONTENT_H
A class to encapsulate an incoming HTTP request.
Base HTTP response handler class.
Handles the provision of dynamic content as typically located in ~/.torc/content. ...
void ProcessHTTPRequest(const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override