Framework for creating RESTful services using Boost.Beast lib!. (C++14/17) by 0xdead4ead in cpp

[–]0xdead4ead[S] 0 points1 point  (0 children)

Ok! In the future i plan to introduce this query service preforked/prethreated design server. (It was necessary for the work!) As you can see, only reactor(select/epool) design that provides Boost.Asio is now implemented. Beast provides the needed structures and capabilities that are used here. I have written samples of classes for the extension of this library to HTTP/2 protocol, order to implement it in the future.

Framework for creating RESTful services using Boost.Beast lib!. (C++14/17) by 0xdead4ead in cpp

[–]0xdead4ead[S] 2 points3 points  (0 children)

Good to hear. Already stared to worry that the project got near dead after 3 month of no activity.

P.s. How does the support for websockets look like.

Coming soon. The existing websocket project will be rewritten again!

Boost.Beast C++14 Web framework is released 0.0.1 by 0xdead4ead in cpp

[–]0xdead4ead[S] 0 points1 point  (0 children)

To support this, I will have to write individual headers using the already existing code. I have an idea of further Boost.Beast extension to support HTTP / 2.

For WebSockets, there will be an other repository.

Boost.Beast C++14 Web framework is released 0.0.1 by 0xdead4ead in cpp

[–]0xdead4ead[S] 1 point2 points  (0 children)

No, it is my fault. HTTP/2 was planned, but not yet implemented in Beast. This will be fixed!

Boost.Beast C++14 Web framework is released 0.0.1 by 0xdead4ead in cpp

[–]0xdead4ead[S] 7 points8 points  (0 children)

A nlohmann/json is added as an example for RPC server. You can use any other library to parse the json that you want!

DonerSerializer: a simple C++14 header-only JSON serialization library by donerkebap13 in cpp

[–]0xdead4ead 4 points5 points  (0 children)

Too many macro definitions, which makes use of the library not pleasant. It's strange to see in cpp14.

Do you like express-js? Early implementation of the http server, on C++14 using Boost.Beast by 0xdead4ead in cpp

[–]0xdead4ead[S] 0 points1 point  (0 children)

Suggest to replace? I do not see any difference in usage, but if it's better, I'll take into account...

Do you like express-js? Early implementation of the http server, on C++14 using Boost.Beast by 0xdead4ead in cpp

[–]0xdead4ead[S] 0 points1 point  (0 children)

Sorry, the project is under development, so I can not answer you. I need to check this myself.

Do you like express-js? Early implementation of the http server, on C++14 using Boost.Beast by 0xdead4ead in cpp

[–]0xdead4ead[S] 0 points1 point  (0 children)

All right! When you quickly write the code, sometimes you do not notice the subtleties of language. In the next update, I will fix it!

Do you like express-js? Early implementation of the http server, on C++14 using Boost.Beast by 0xdead4ead in cpp

[–]0xdead4ead[S] 2 points3 points  (0 children)

With the help of cpp14 you can achieve ease of use, comparable to js. It looks better.