ofxHTTP
A collection of tools for HTTP.
|
Public Types | |
typedef SimplePostServerSettings | Settings |
Public Member Functions | |
SimplePostServer (const Settings &settings=Settings()) | |
virtual void | setup (const Settings &settings) override |
FileSystemRoute & | fileSystemRoute () |
PostRoute & | postRoute () |
Public Member Functions inherited from ofx::HTTP::BaseServer_< SimplePostServerSettings, SimpleSessionStore > | |
BaseServer_ (const SimplePostServerSettings &settings=SimplePostServerSettings(), Poco::ThreadPool &rThreadPool=Poco::ThreadPool::defaultPool()) | |
void | start () |
void | stop () |
void | restart () |
bool | isRunning () const |
const SimplePostServerSettings & | settings () const |
std::string | url () const |
void | addRoute (AbstractRoute *pRoute) |
void | removeRoute (AbstractRoute *pRoute) |
void | onHTTPServerEvent (const void *pSender, ServerEventArgs &evt) |
Poco::Net::HTTPRequestHandler * | createRequestHandler (const Poco::Net::HTTPServerRequest &request) |
void | exit (ofEventArgs &) |
SimpleSessionStore & | sessionStore () |
Public Member Functions inherited from ofx::HTTP::AbstractServer | |
virtual | ~AbstractServer () |
Destroy the AbstractServer. | |
Protected Attributes | |
FileSystemRoute | _fileSystemRoute |
The FileSystemRoute attached to this server. | |
PostRoute | _postRoute |
Additional Inherited Members | |
Public Attributes inherited from ofx::HTTP::BaseServer_< SimplePostServerSettings, SimpleSessionStore > | |
ServerEvents | events |
A collection of server events. | |
Protected Types inherited from ofx::HTTP::BaseServer_< SimplePostServerSettings, SimpleSessionStore > | |
enum | |
Protected Member Functions inherited from ofx::HTTP::BaseServer_< SimplePostServerSettings, SimpleSessionStore > | |
virtual Poco::ThreadPool & | getThreadPool () |
FileSystemRoute& ofx::HTTP::SimplePostServer::fileSystemRoute | ( | ) |