libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::HttpServer::HttpServerInfo Struct Reference

#include <HttpServer.h>

Public Attributes

bool useSsl = false
 
uint32_t connectionBacklogSize = 100
 
uint32_t maxConnections = 10
 
uint32_t serverThreads = 1
 
std::unordered_map< std::string, TcpSocket::PCertificateInfocertificates
 
std::string dhParamFile
 
std::string dhParamData
 
bool requireClientCert = false
 
std::function< void(int32_t clientId, std::string address, uint16_t port)> newConnectionCallback
 
std::function< void(int32_t clientId)> connectionClosedCallback
 
std::function< void(int32_t clientId, Http &http)> packetReceivedCallback
 

Member Data Documentation

§ certificates

std::unordered_map<std::string, TcpSocket::PCertificateInfo> BaseLib::HttpServer::HttpServerInfo::certificates

§ connectionBacklogSize

uint32_t BaseLib::HttpServer::HttpServerInfo::connectionBacklogSize = 100

§ connectionClosedCallback

std::function<void(int32_t clientId)> BaseLib::HttpServer::HttpServerInfo::connectionClosedCallback

§ dhParamData

std::string BaseLib::HttpServer::HttpServerInfo::dhParamData

§ dhParamFile

std::string BaseLib::HttpServer::HttpServerInfo::dhParamFile

§ maxConnections

uint32_t BaseLib::HttpServer::HttpServerInfo::maxConnections = 10

§ newConnectionCallback

std::function<void(int32_t clientId, std::string address, uint16_t port)> BaseLib::HttpServer::HttpServerInfo::newConnectionCallback

§ packetReceivedCallback

std::function<void(int32_t clientId, Http &http)> BaseLib::HttpServer::HttpServerInfo::packetReceivedCallback

§ requireClientCert

bool BaseLib::HttpServer::HttpServerInfo::requireClientCert = false

§ serverThreads

uint32_t BaseLib::HttpServer::HttpServerInfo::serverThreads = 1

§ useSsl

bool BaseLib::HttpServer::HttpServerInfo::useSsl = false

The documentation for this struct was generated from the following file: