diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-20 02:33:02 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-20 02:33:02 -0300 |
| commit | ba7ec40782ba7020d82a56896a5eb1b52578d6aa (patch) | |
| tree | b6a5222d124255ae1e5d568c6ffbfe2e2050ae63 /test/web/native.zig | |
| parent | 66f2e492c348677ab3050f5e378b9eb4c04c98ce (diff) | |
| download | cloud9-ba7ec40782ba7020d82a56896a5eb1b52578d6aa.tar.gz cloud9-ba7ec40782ba7020d82a56896a5eb1b52578d6aa.zip | |
Add cloud9.serve: an std.Io runner around the file-server engine
Runner(Backend, Options, Limits) listens on Unix or TCP, runs a reader and a
serve task per connection in one Io.Group, pushes frames into an fs.Server,
and lets the backend answer now or later from any task or thread (reply,
flush, wake); Tflush, greet timeout, connection limit, close and stop with
cancellation are covered by tests over real sockets. The engine and the
backend contract stay Io-free, so the push/step mode for freestanding
targets is unchanged. Documented as the two ways to drive the engine.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'test/web/native.zig')
0 files changed, 0 insertions, 0 deletions
