MythTV  master
Public Member Functions | Protected Attributes | List of all members
HttpWorker Class Reference

#include <httpserver.h>

Inheritance diagram for HttpWorker:
Inheritance graph
[legend]
Collaboration diagram for HttpWorker:
Collaboration graph
[legend]

Public Member Functions

 HttpWorker (HttpServer &httpServer, qintptr sock, PoolServerType type, const QSslConfiguration &sslConfig)
 
void run (void) override
 

Protected Attributes

HttpServerm_httpServer
 
qintptr m_socket
 
std::chrono::milliseconds m_socketTimeout
 
PoolServerType m_connectionType
 
QSslConfiguration m_sslConfig
 

Detailed Description

Definition at line 174 of file httpserver.h.

Constructor & Destructor Documentation

◆ HttpWorker()

HttpWorker::HttpWorker ( HttpServer httpServer,
qintptr  sock,
PoolServerType  type,
const QSslConfiguration &  sslConfig 
)
Parameters
httpServerThe parent server of this request
sockThe socket
typeThe type of connection - Plain TCP, SSL or other?
sslConfigThe SSL configuration (for SSL sockets)

Definition at line 445 of file httpserver.cpp.

Member Function Documentation

◆ run()

void HttpWorker::run ( void  )
override

Definition at line 465 of file httpserver.cpp.

Member Data Documentation

◆ m_httpServer

HttpServer& HttpWorker::m_httpServer
protected

Definition at line 193 of file httpserver.h.

Referenced by run().

◆ m_socket

qintptr HttpWorker::m_socket
protected

Definition at line 194 of file httpserver.h.

Referenced by HttpWorker(), and run().

◆ m_socketTimeout

std::chrono::milliseconds HttpWorker::m_socketTimeout
protected

Definition at line 195 of file httpserver.h.

Referenced by run().

◆ m_connectionType

PoolServerType HttpWorker::m_connectionType
protected

Definition at line 196 of file httpserver.h.

Referenced by run().

◆ m_sslConfig

QSslConfiguration HttpWorker::m_sslConfig
protected

Definition at line 199 of file httpserver.h.

Referenced by run().


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