Torc  0.1
torcupnpcontent.h
Go to the documentation of this file.
1 #ifndef TORCUPNPCONTENT_H
2 #define TORCUPNPCONTENT_H
3 
4 // Torc
5 #include "torchttphandler.h"
6 
7 #define UPNP_DIRECTORY QStringLiteral("/upnp/")
8 
9 class TorcUPnPContent final: public TorcHTTPHandler
10 {
11  public:
13 
14  void ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override;
15 };
16 
17 #endif // TORCUPNPCONTENT_H
A class to encapsulate an incoming HTTP request.
Base HTTP response handler class.
void ProcessHTTPRequest(const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override