Realistic 3D camera system
3D camera system components
|
The top-level coroutine of the HTTP server. More...
#include <server.hpp>
Public Member Functions | |
server (asio::io_service &io_service, const std::string &address, const std::string &port, boost::function< void(const request &, reply &)> request_handler) | |
void | operator() (asio::error_code ec=asio::error_code(), std::size_t length=0) |
Perform work associated with the server. More... | |
The top-level coroutine of the HTTP server.
Definition at line 28 of file server.hpp.
|
explicit |
Construct the server to listen on the specified TCP address and port, and serve up files from the given directory.
Definition at line 18 of file server.cpp.
void server::operator() | ( | asio::error_code | ec = asio::error_code() , |
std::size_t | length = 0 |
||
) |
Perform work associated with the server.
Definition at line 31 of file server.cpp.