AnCH Framework 0.1
Another C++ Hack Framework
Loading...
Searching...
No Matches
anch::rest::EndpointFunc Class Referenceabstract

Endpoint function interface. More...

#include <endpointFunction.hpp>

Inheritance diagram for anch::rest::EndpointFunc:
Collaboration diagram for anch::rest::EndpointFunc:

Public Member Functions

virtual ~EndpointFunc ()
virtual anch::rest::Response execute (const anch::rest::Request &request)=0

Detailed Description

Endpoint function interface.

Endpoint function executor interface

Since
0.1
Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ ~EndpointFunc()

virtual anch::rest::EndpointFunc::~EndpointFunc ( )
virtual

EndpointFunc destructor

Member Function Documentation

◆ execute()

virtual anch::rest::Response anch::rest::EndpointFunc::execute ( const anch::rest::Request & request)
pure virtual

Execute endpoint function

Parameters
requestthe HTTP request
Returns
the response

Implemented in anch::rest::EndpointParamsFunc< T >, and anch::rest::EndpointSimpleFunc.


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