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

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

#include <file_handler.hpp>

Public Member Functions

 file_handler (const std::string &doc_root)
 Construct with a directory containing files to be served. More...
 
void operator() (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 23 of file file_handler.hpp.

Constructor & Destructor Documentation

http::server4::file_handler::file_handler ( const std::string &  doc_root)
explicit

Construct with a directory containing files to be served.

Definition at line 23 of file file_handler.cpp.

Member Function Documentation

void http::server4::file_handler::operator() ( const request req,
reply rep 
)

Handle a request and produce a reply.

Definition at line 28 of file file_handler.cpp.


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