17#include "../civetweb/civetweb.h"
THttpEngine implementation, based on civetweb embedded server.
struct mg_context * fCtx
! civetweb context
Bool_t fWinSymLinks
! resolve symbolic links on Windows
Bool_t IsTerminating() const
const char * GetTopName() const
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
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.
void Terminate() override
Method called when server want to be terminated.
Bool_t IsDebugMode() const
virtual ~TCivetweb()
destructor
Bool_t IsWinSymLinks() const
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