C++ Web Framework  3.0
Public Member Functions | List of all members
HttpReadRequest Class Reference

The HttpReadRequest class is created automatically by the CppWebServer and inserted
in a QThreadPool, always when the CppWebServer has a call by a client(Browser). More...

#include <httpreadrequest.h>

Inheritance diagram for HttpReadRequest:
Inheritance graph
[legend]

Public Member Functions

 HttpReadRequest (qintptr socketDescriptor, QMapThreadSafety< QString, Controller *> &urlController, QMapThreadSafety< QString, Session *> &sessions, const Configuration &configuration, QSslConfiguration *ssl, Filter *filter)
 This constructor provides the necessary information to create a HttpReadRequest. More...
 
virtual ~HttpReadRequest ()
 Destroys dynamically allocated resources.
 
void run () override
 Starts to read the requisition.
 

Detailed Description

The HttpReadRequest class is created automatically by the CppWebServer and inserted
in a QThreadPool, always when the CppWebServer has a call by a client(Browser).

Constructor & Destructor Documentation

◆ HttpReadRequest()

CWF_BEGIN_NAMESPACE HttpReadRequest::HttpReadRequest ( qintptr  socketDescriptor,
QMapThreadSafety< QString, Controller *> &  urlController,
QMapThreadSafety< QString, Session *> &  sessions,
const Configuration configuration,
QSslConfiguration *  ssl,
Filter filter 
)

This constructor provides the necessary information to create a HttpReadRequest.

Parameters
qintptrsocketDescriptor : Used to create a socket.
QMapThreadSafety<QString,Controller*> &urlController : All mapped controllers
QMapThreadSafety<QString,Session*> &sessions : Sessions.
QSslConfiguration*sslConfiguration : SSL configuration.
Filter*filter : Filter

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