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

The common handler for all incoming requests. More...

#include <request_handler.hpp>

Inheritance diagram for http::server::request_handler:

Public Member Functions

 request_handler (const std::string &doc_root)
 Construct with a directory containing files to be served. More...
 
void handle_request (const request &req, reply &rep)
 Handle a request and produce a reply. More...
 
 request_handler (const request_handler &)=delete
 
request_handleroperator= (const request_handler &)=delete
 
 request_handler (const std::string &doc_root)
 Construct with a directory containing files to be served. More...
 
void handle_request (const request &req, reply &rep)
 Handle a request and produce a reply. More...
 

Detailed Description

The common handler for all incoming requests.

Definition at line 24 of file request_handler.hpp.

Constructor & Destructor Documentation

http::server::request_handler::request_handler ( const std::string &  doc_root)
explicit

Construct with a directory containing files to be served.

Definition at line 23 of file request_handler.cpp.

http::server::request_handler::request_handler ( const request_handler )
delete
http::server::request_handler::request_handler ( const std::string &  doc_root)
explicit

Construct with a directory containing files to be served.

Member Function Documentation

void http::server::request_handler::handle_request ( const request req,
reply rep 
)

Handle a request and produce a reply.

Definition at line 28 of file request_handler.cpp.

void http::server::request_handler::handle_request ( const request req,
reply rep 
)

Handle a request and produce a reply.

request_handler& http::server::request_handler::operator= ( const request_handler )
delete

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