Realistic 3D camera system
3D camera system components
Public Member Functions | List of all members
http::server3::server Class Reference

The top-level class of the HTTP server. More...

#include <server.hpp>

Inheritance diagram for http::server3::server:

Public Member Functions

 server (const std::string &address, const std::string &port, const std::string &doc_root, std::size_t thread_pool_size)
 
void run ()
 Run the server's io_service loop. More...
 

Detailed Description

The top-level class of the HTTP server.

Definition at line 26 of file server.hpp.

Constructor & Destructor Documentation

server::server ( const std::string &  address,
const std::string &  port,
const std::string &  doc_root,
std::size_t  thread_pool_size 
)
explicit

Construct the server to listen on the specified TCP address and port, and serve up files from the given directory.

Definition at line 19 of file server.cpp.

Member Function Documentation

void server::run ( )

Run the server's io_service loop.

Definition at line 49 of file server.cpp.


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