ofxHTTP
A collection of tools for HTTP.
|
Public Member Functions | |
BaseServerSettings (const std::string &host=DEFAULT_HOST, uint16_t port=DEFAULT_PORT, bool useSSL=DEFAULT_USE_SSL, bool useSessions=DEFAULT_USE_SESSIONS) | |
void | setHost (const std::string &host) |
std::string | getHost () const |
void | setPort (uint16_t port) |
uint16_t | getPort () const |
void | setUseSSL (bool useSSL) |
bool | useSSL () const |
void | setUseSessions (bool useSession) |
bool | useSessions () const |
Poco::URI | uri () const |
const Net::IPAddressRange::List & | getWhitelist () const |
void | setWhitelist (const Net::IPAddressRange::List &whitelist) |
const Net::IPAddressRange::List & | getBlacklist () const |
void | setBlacklist (const Net::IPAddressRange::List &blacklist) |
Public Member Functions inherited from ofx::HTTP::HTTPServerParams | |
void | setServerName (const std::string &serverName) |
const std::string & | getServerName () const |
void | setSoftwareVersion (const std::string &softwareVersion) |
const std::string & | getSoftwareVersion () const |
void | setTimeout (const Poco::Timespan &timeout) |
const Poco::Timespan & | getTimeout () const |
void | setKeepAlive (bool keepAlive) |
bool | getKeepAlive () const |
void | setKeepAliveTimeout (const Poco::Timespan &timeout) |
const Poco::Timespan & | getKeepAliveTimeout () const |
void | setMaxKeepAliveRequests (int maxKeepAliveRequests) |
int | getMaxKeepAliveRequests () const |
Public Member Functions inherited from ofx::HTTP::TCPServerParams | |
void | setThreadIdleTime (const Poco::Timespan &idleTime) |
const Poco::Timespan & | getThreadIdleTime () const |
void | setMaxQueued (int count) |
int | getMaxQueued () const |
void | setMaxThreads (int count) |
int | getMaxThreads () const |
void | setThreadPriority (Poco::Thread::Priority prio) |
Poco::Thread::Priority | getThreadPriority () const |