virtual void Terminate()
Method called when server want to be terminated.
Bool_t IsTerminating() const
const char * GetTopName() const
void * fCtx
! civetweb context
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
Bool_t fOnlySecured
! if server should run only https protocol
Bool_t fTerminating
! server doing shutdown and not react on requests
Bool_t IsDebugMode() const
virtual ~TCivetweb()
destructor
Bool_t fDebug
! debug mode
void * fCallbacks
! call-back table for civetweb webserver
virtual Bool_t Create(const char *args)
Creates embedded civetweb server As main argument, http port should be specified like "8090".
const char * Data() const