AOSharedServiceLibrary
Public Member Functions | List of all members
HttpServerInterface Class Referenceabstract

This is a basic HTTP Server that can be used to build a RESTful API. More...

#include <http_server_interface.h>

Public Member Functions

virtual bool bind_callback (std::string uri, CallbackInterface func)=0
 Bind a callback for a static API Method.
 
virtual bool bind_default_callback (CallbackInterface func)=0
 Bind a callback for a dynamic API Method.
 
virtual void recv ()=0
 Blocking call for waiting for incoming API Calls.
 

Detailed Description

This is a basic HTTP Server that can be used to build a RESTful API.

The HTTP Server can bind static API methods to individual callbacks, and dynamic API methods can go to a default callback. Used to build RESTful API's


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