REST API Framework for C. My implementation of Express in C, without actually seeing the source code, with my flavour of how things should work both for the consumer of the library as well as under the hood.
The best part? Requests for files are served in sub-millisecond timings:
It uses a thread-pool under the hood to handle a large number of simultaenous requests, and it does its job magnificently.
You will find a tutorial here, full documentation here and the installation instructions here and a TL;DR version here
Would love any kind of contribution to this! No rules right now except follow Linux's Code Styling format :)
Please open a PR, would love to look at it. This includes requests to add MIME type for your required file type, I will be glad to.
- Priority based route selection
- Any number of middlewares for a route
- More examples
- Ability to add middlewares with a syntax similar to Express's
router.use()
- HTTPS, HTTP/2 and HTTP/3 support (currently supports HTTP/1.1 only)