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

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

#include <server.hpp>

Inheritance diagram for http::server::server:

Public Member Functions

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

Detailed Description

The top-level class of the HTTP server.

Definition at line 25 of file server.hpp.

Constructor & Destructor Documentation

server::server ( const std::string &  address,
const std::string &  port,
const std::string &  doc_root 
)
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.

http::server::server::server ( const server )
delete
http::server::server::server ( const std::string &  address,
const std::string &  port,
const std::string &  doc_root 
)
explicit

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

Member Function Documentation

server& http::server::server::operator= ( const server )
delete
void server::run ( )

Run the server's io_service loop.

Definition at line 49 of file server.cpp.

void http::server::server::run ( )

Run the server's io_service loop.


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