C
C
cybervito212014-11-09 12:54:24
API
cybervito21, 2014-11-09 12:54:24

Which c/c++ framework to choose for REST API implementation?

It is necessary to do Java (specifically restlet)!!!
I try lwan , but somehow it is so-so.
Is there a convenient, fast and efficient way to implement a REST API in c/c++?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Makarov, 2014-11-19
@cybervito21

EDIT: I recommend Boost.Beast as of today - one of the more mature solutions in the pros.
Old answer:
Try the C++ Network Library ( on github ) - the project is quite young, but it has very interesting functionality and a lot of convenient abstractions, there are implementations of the URI, HTTP client and server. In fact, this is a wrapper over boost.asio, which allows you not to write a web server and client from scratch. Requires C++11.
In addition, if there are requirements for reliability / load, then it is better to deal with a proven web server, and then you should look towards FastCGI - then some nginx or Apache will look at the Internet, and your application will receive requests via FastCGI from web server. Libraries for C++there are .

B
Boniface, 2014-11-10
@Boniface

If you are not afraid, you can try the Microsoft REST SDK . Their client is good, but the server was in beta, maybe already normal.
And so, with boots.asio handles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question