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

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

#include <server.hpp>

Inheritance diagram for http::server2::server:

Public Member Functions

 server (const std::string &address, const std::string &port, const std::string &doc_root, std::size_t io_service_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 27 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  io_service_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 17 of file server.cpp.

Member Function Documentation

void server::run ( )

Run the server's io_service loop.

Definition at line 47 of file server.cpp.


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