ofxHTTP
A collection of tools for HTTP.
|
Settings for a SimplePostServer. More...
#include <SimplePostServer.h>
Public Attributes | |
FileSystemRouteSettings | fileSystemRouteSettings |
File system route settings. | |
PostRouteSettings | postRouteSettings |
Post route settings. | |
Additional Inherited Members | |
Public Member Functions inherited from ofx::HTTP::BaseServerSettings | |
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 |
Static Public Attributes inherited from ofx::HTTP::BaseServerSettings | |
static const std::string | DEFAULT_HOST = "127.0.0.1" |
static const uint16_t | DEFAULT_PORT = 8998 |
static const bool | DEFAULT_USE_SSL = false |
static const bool | DEFAULT_USE_SESSIONS = true |
Settings for a SimplePostServer.