libhttpserver
C++ library for creating an embedded Rest HTTP server (and more) (by etr)
Restbed
Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++ applications. (by Corvusoft)
| libhttpserver | Restbed | |
|---|---|---|
| 2 | 5 | |
| 941 | 1,998 | |
| 0.1% | 0.1% | |
| 2.0 | 8.0 | |
| 6 days ago | 2 months ago | |
| C++ | C++ | |
| GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libhttpserver
Posts with mentions or reviews of libhttpserver.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-10.
-
Simple HTTP server using C++
Now I want to do this using C++. I came across libhttpserver. The documentation looks intuitive. I think once everything is properly setup I should be easily able to what I want.
-
libonion or libhttpserver for embedding a webserver in a small application?
libhttpserver
Restbed
Posts with mentions or reviews of Restbed.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-25.
-
How to use C++ as the backend for web dev?
Use a rest api library like https://github.com/corvusoft/restbed. You can use a json library with this to serialize/deserialize your data into json objects.
-
What does modern (good) API development look like and what are the best tools to use?
Contrary to the direction most people go, I've been writing REST APIs as C++ servers using two different fairly full featured C++ REST frameworks: first using https://github.com/Corvusoft/restbed and more lately using https://github.com/Stiffstream/restinio. These can be peers with any other server, while living on embedded and/or high compute devices for video encode/decode/analysis, deployed ML models, encryption for and remote process communications, model data collection and similar expensive or in-field processing. In both high compute and in-field-no-internet situations creating REST APIs in C++ enables speed and system controls not present in the majority of the mainstream REST frameworks. It's a big world, and here comes ubiquitous high compute...
-
I'm not sure what to study now ):
There are some C++ API frameworks like Pistache or Restbed (full list here) to get started. If I should be 100% honest, I don't think C++ is worth for APIs as we have easier solutions with the same performance nowadays (like Go and Rust), but I think we should try everything, right?
-
cpprestsdk in maintenance mode
If you need an embedded C++ HTTP server then there are plenty of libraries/frameworks (in random order): Crow, RESTinio, Boost.Beast, cpp-httplib, http_backend, Pistache, RestBed, served, proxygen, Simple-Web-Server, drogon, oat++.
- Rest Api Routes Implementation
What are some alternatives?
When comparing libhttpserver and Restbed you can also consider the following projects:
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
Pistache - A high-performance REST toolkit written in C++
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library