THttpEngine implementation, based on civetweb embedded server.
 
Int_t fNumThreads
! number of configured threads
 
Int_t fNumActiveThreads
! number of active threads - used in request and websocket handling
 
struct mg_context * fCtx
! civetweb context
 
std::mutex fMutex
! mutex to read/write fNumActiveThreads
 
Bool_t fWinSymLinks
! resolve symbolic links on Windows
 
Bool_t IsTerminating() const
 
const char * GetTopName() const
 
TCivetweb(Bool_t only_secured=kFALSE)
constructor
 
Int_t fMaxAge
! max-age parameter
 
Int_t ProcessLog(const char *message)
process civetweb log message, can be used to detect critical errors
 
TString fTopName
! name of top item
 
Int_t GetNumAvailableThreads()
Returns number of actively used threads.
 
Bool_t fOnlySecured
! if server should run only https protocol
 
Bool_t fTerminating
! server doing shutdown and not react on requests
 
Bool_t Create(const char *args) override
Creates embedded civetweb server.
 
Int_t ChangeNumActiveThrerads(int cnt=0)
Returns number of actively used threads.
 
void Terminate() override
Method called when server want to be terminated.
 
Int_t GetNumThreads() const
 
Bool_t IsDebugMode() const
 
virtual ~TCivetweb()
destructor
 
Bool_t IsWinSymLinks() const
 
Bool_t fWebGui
! if server used for webgui
 
Bool_t fDebug
! debug mode
 
struct mg_callbacks fCallbacks
! call-back table for civetweb webserver
 
Abstract class for implementing http protocol for THttpServer.
 
const char * Data() const