libhttpserver
libwebsockets
| libhttpserver | libwebsockets | |
|---|---|---|
| 2 | 14 | |
| 941 | 5,289 | |
| 0.1% | 0.5% | |
| 2.0 | 9.6 | |
| 5 days ago | 5 days ago | |
| C++ | C | |
| GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 or later |
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
-
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
libwebsockets
- Libwebsockets: Lightweight pure C library for implementing network protocols
-
Show HN: Crawl a modern website to a zip, serve the website from the zip
The libwebsockets server (https://libwebsockets.org) supports serving directly from zip archives. Furthermore, if a URL is mapped to a compressed archive member, and assuming the browser can accept gzip-compressed files (as most can), then the compressed data is copied from archive over http to the browser, without de-compressing or conversion by the server. The server does a little bit of header fiddling but otherwise sends the raw bytes to the browser, which automatically decompresses it.
- FLaNK Weekly 08 Jan 2024
-
Libwebsockets
This is just the endemic result of C++ lacking a package manager.
Every library starts out small, adds its own vendored utilities, adds its own dependencies, and eventually becomes boost.
To be fair to this project, theyve worked quite hard to make the library consumable by others… but yes, its hard to look at the code like https://github.com/warmcat/libwebsockets/blob/50ba61082dc40b...
…and not go… really? As part of the core of libwebsocket?
When you read the justification it’s mostly “well we have a good framework now, so why not use it for other things too?”
C++ life.
/shrug
-
Rusty C programmer needs help with modern tools
I'm trying to setup a project using libwebsockets.
- Beej updated the classic Linux network programming guide
-
Hacker News top posts: Sep 7, 2021
Libwebsockets a powerful and lightweight pure C library\ (48 comments)
- libwebsockets - a flexible, lightweight pure C library for implementing modern network protocols
- Libwebsockets a powerful and lightweight pure C library
What are some alternatives?
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.
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
Mongoose - Embedded web server, with TCP/IP network stack, MQTT and Websocket
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library