120

GitHub - evilsocket/librestd: A low dependencies and self contained library to c...

 6 years ago
source link: https://github.com/evilsocket/librestd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

librestd

A low dependencies and self contained library to create C++ RESTful API services ( UNDER HEAVY DEVELOPMENT ).

Scope

This library and the underlying HTTP server component do not support the full HTTP specs but were rather implemented with speed and simplicity in mind. Nevertheless, as it is possible to see from the hello_world.cpp example file, the library offers every basic feature you might need in order to wrap your C++ tools/engines/business logic as REST services running on localhost ( or bound to a UNIX domain socket ).

Compilation

git clone https://github.com/evilsocket/librestd.git
cd librestd
cmake -DCMAKE_BUILD_TYPE=Release .
make 

And install with:

sudo make install

Usage

For an usage example see the hello_world.cpp file.

License

librestd is released under the GPL 3.0 license and it's copyleft of Simone 'evilsocket' Margaritelli.

JSON support provided using the JSON for Modern C++ library by Niels Lohmann.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK