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

#include <httpserver.h>

Inheritance diagram for HttpWorker:
Inheritance graph
Collaboration diagram for HttpWorker:
Collaboration graph

Public Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 177 of file httpserver.h.

Constructor & Destructor Documentation

◆ HttpWorker()

HttpWorker::HttpWorker ( HttpServer httpServer,
qintptr  sock,
PoolServerType  type,
const QSslConfiguration &  sslConfig 
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 448 of file httpserver.cpp.

Member Function Documentation

◆ run()

void HttpWorker::run ( void  )

Definition at line 468 of file httpserver.cpp.

Member Data Documentation

◆ m_httpServer

HttpServer& HttpWorker::m_httpServer

Definition at line 196 of file httpserver.h.

Referenced by run().

◆ m_socket

qintptr HttpWorker::m_socket

Definition at line 197 of file httpserver.h.

Referenced by HttpWorker(), and run().

◆ m_socketTimeout

std::chrono::milliseconds HttpWorker::m_socketTimeout

Definition at line 198 of file httpserver.h.

Referenced by run().

◆ m_connectionType

PoolServerType HttpWorker::m_connectionType

Definition at line 199 of file httpserver.h.

Referenced by run().

◆ m_sslConfig

QSslConfiguration HttpWorker::m_sslConfig

Definition at line 202 of file httpserver.h.

Referenced by run().

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