rest-cpp
REST-like framework and server for blazing fast web applications in C++11
REST::Service Class Referenceabstract
+ Inheritance diagram for REST::Service:

Public Member Functions

void ensure_session ()
 
void ensure_authorization (std::string const &realm, std::function< bool(std::string, std::string)> handler)
 

Public Attributes

std::shared_ptr< Responseresponse
 
std::shared_ptr< Requestrequest
 

Protected Member Functions

virtual void make_action ()
 
virtual void before ()
 
virtual void after ()
 
virtual void method (Request::Method method)
 

Protected Attributes

std::shared_ptr< Sessionsession = nullptr
 

Detailed Description

Service provice RESTful stuff to other classes.

Classes must inherit REST::Service to be open to public.