Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.44 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.44 KB

libexpress

C Tag

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:

image

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

Contributing

Would love any kind of contribution to this! No rules right now except follow Linux's Code Styling format :)

Bugs/Feature Requests

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.

Goals

  • 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)