Commit graph

5 commits

Author SHA1 Message Date
Simon Cruanes
6137c20801
doc 2023-07-12 20:20:14 -04:00
Simon Cruanes
7b094b55ad
many fixes 2023-07-11 11:31:06 -04:00
Simon Cruanes
de23d9b2a3
wip: add IO.Writer.t, a push based stream
This is more convenient than our existing streams when it comes to
writing a body. The user can just get an output channel and write to it,
flush it, etc. as they please. This should also simplify compression…
once it works.
2023-07-11 10:57:08 -04:00
Simon Cruanes
5d7637becc
server: add IO_BACKEND abstraction; implement a unix version of it
this doesn't change the `create`+`run` version, but makes it possible to
create a server that doesn't use unix IOs.
2023-06-20 23:03:31 -04:00
Simon Cruanes
a32297ac6c
add Tiny_httpd_io module, abstraction over IOs
abstract channels, and abstract TCP server.
2023-06-20 23:03:30 -04:00