23 #include "../civetweb/civetweb.h"
49 virtual const char*
ClassName()
const {
return "HttpServer"; }
Represents command with its arguments.
Server provides http access to DABC
Civetweb(const std::string &name, dabc::Command cmd=nullptr)
virtual const char * ClassName() const
Returns class name of the object instance.
virtual void OnThreadAssigned()
static int log_message_handler(const struct mg_connection *conn, const char *message)
std::string fSslCertif
SSL certificate file name in plm format.
std::string fAuthFile
authentication file, generated by htdigest utility
int fNumThreads
number of civetweb threads
static int begin_request_handler(struct mg_connection *conn, void *)
struct mg_callbacks fCallbacks
std::string fHttpPort
port number for HTTP server
std::string fAuthDomain
realm parameter in authentication, "dabc@server" is default
std::string fHttpsPort
port number for HTTPS server
Server provides http access to DABC