ofxHTTP
A collection of tools for HTTP.
ofx::HTTP::SimplePostServer Class Reference
Inheritance diagram for ofx::HTTP::SimplePostServer:
ofx::HTTP::BaseServer_< SimplePostServerSettings, SimpleSessionStore > ofx::HTTP::AbstractServer

Public Types

typedef SimplePostServerSettings Settings
 

Public Member Functions

 SimplePostServer (const Settings &settings=Settings())
 
virtual void setup (const Settings &settings) override
 
FileSystemRoutefileSystemRoute ()
 
PostRoutepostRoute ()
 
- 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 SimplePostServerSettingssettings () 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 &)
 
SimpleSessionStoresessionStore ()
 
- 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 ()
 

Member Function Documentation

◆ fileSystemRoute()

FileSystemRoute& ofx::HTTP::SimplePostServer::fileSystemRoute ( )
Returns
A reference to the file system route.

The documentation for this class was generated from the following files: