Wexus2 0.20
|
#include <HTTPServer.h>
Public Member Functions | |
HTTPParams (void) | |
constructor | |
int | port (void) const |
port to listen to, 8080 by default. | |
int | numThreads (void) const |
void | setPort (int p) |
void | setNumThreads (int t) |
void | setHandler (HTTPHandler *handler) |
HTTPHandler * | handler (void) const |
Options that can be passed to the HTTPServer upon bootup.
void wexus::HTTPParams::setHandler | ( | HTTPHandler * | handler | ) |
Sets the handeler that will receive all the http events. By default, it is null, for no handler.