Dusty is a simple HTTP server built on top of zio and llhttp. The API is very much inspired by Karl Seguin’s http.zig, which is a great project and I would be happy using that, if I didn’t need to run multiple network services inside the same application.

This is project is in very early stages, don’t use it unless you want to experiment or perhaps even contribute.

Features

  • Asynchronous I/O for multiple concurrent connections on a single CPU thread
  • Requests handled in lightweight coroutines
  • Router with support for parameters and wildcards
  • Supports HTTP/1.0 and HTTP/1.1
  • Supports chunked transfer encoding in both request/response bodies

Example

cons...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help