AOSharedServiceLibrary
|
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. | |
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