QHttpEngine  1.0.0
Simple and secure HTTP server for Qt applications
 All Classes Functions Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | List of all members
QHttpEngine::ProxyHandler Class Reference

Handler that routes HTTP requests to an upstream server

#include <qhttpengine/proxyhandler.h>

Inheritance diagram for QHttpEngine::ProxyHandler:
QHttpEngine::Handler

Public Member Functions

 ProxyHandler (const QHostAddress &address, quint16 port, QObject *parent=0)
 Create a new proxy handler.
 
- Public Member Functions inherited from QHttpEngine::Handler
 Handler (QObject *parent=0)
 Base constructor for a handler.
 
void addMiddleware (Middleware *middleware)
 Add middleware to the handler.
 
void addRedirect (const QRegExp &pattern, const QString &path)
 Add a redirect for a specific pattern. More...
 
void addSubHandler (const QRegExp &pattern, Handler *handler)
 Add a handler for a specific pattern. More...
 
void route (Socket *socket, const QString &path)
 Route an incoming request.
 

Protected Member Functions

virtual void process (Socket *socket, const QString &path)
 Reimplementation of [Handler::process()](QHttpEngine::Handler::process)
 

The documentation for this class was generated from the following file: