Restinio - header-only http and websocket server, Николай Гродзицкий
RESTinio is a header-only library for creating REST applications in c++. It helps to create http server that can handle requests asynchronously. And since v.0.3 it supports websockets.
2. What is it?
● RESTinio is a header-only library for writing http-server in C++
● Based on asio
○ stand alone
○ master branch of https://github.com/chriskohlhoff/asio (close to Network
TS)
● Basic websocket support
● Currently it is in beta state
● BSD-3-CLAUSE license
2
3. Why creating yet another library of that kind?
● Lots of libs for implementing http-server
in C++
● Boost::Beast
● NIH syndrom?
3
4. Why creating yet another library of that kind?
● Lots of libs for implementing http-server
in C++
● Boost::Beast
● NIH syndrom?
4
● We tried lots of them
● Async handling is rare
● Control over execution context
● A bit of introspection
● Routing
Well, not too much options...