Wexus2 0.20
|
#include <MongooseServer.h>
Public Member Functions | |
MongooseServer (const wexus::HTTPParams &opt) | |
virtual | ~MongooseServer (void) |
virtual bool | isRunning (void) const |
is the web server currently running? | |
virtual void | start (void) |
starts the web server | |
virtual void | quit (void) |
virtual void | wait (void) |
waits until the server finishes |
A mongoose based wexus::HTTPServer implementation.
wexus::MongooseServer::MongooseServer | ( | const wexus::HTTPParams & | opt | ) |
Creates a new web server. This doesn't actually start it thougth, start() does that.
virtual wexus::MongooseServer::~MongooseServer | ( | void | ) | [virtual] |
virtual void wexus::MongooseServer::quit | ( | void | ) | [virtual] |
notifies the web server to stop. you should still do a wait() this function may or may not block
Implements wexus::HTTPServer.