DUNE: Uniform Navigational Environment
2017.01.0
|
Public Member Functions | |
Server (int port, unsigned threads, RequestHandler &handler) | |
~Server (void) | |
void | poll (double timeout) |
Transports::HTTP::Server::Server | ( | int | port, |
unsigned | threads, | ||
RequestHandler & | handler | ||
) |
Constructor.
port | listening port. |
threads | number of worker threads. |
handler | HTTP request handler. |
Transports::HTTP::Server::~Server | ( | void | ) |
Destructor.
void Transports::HTTP::Server::poll | ( | double | timeout | ) |
Referenced by Transports::HTTP::Task::onMain().