diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-19 23:28:22 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-19 23:28:22 -0300 |
| commit | ba996acfcad1698adbf4a1834fe50e73b1c6cab9 (patch) | |
| tree | 282ba00ce5b10d7416aecb9f2f0f0a439340a57d /docs/http.md | |
| parent | b05abcba3ea09ea106ad28364c6e40a3ec31b890 (diff) | |
| download | cloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.tar.gz cloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.zip | |
Rename programs: 9player -> 9ns, introspect -> 9proc, app -> web (9web)
Directories, binaries, build options (-D9ns, -D9proc), step names, module
name (9proc), thread and fs names, env var NINEPLAYER_MOUNT -> NINE_MOUNT,
docs and test scripts. Browser assets move to web/static.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'docs/http.md')
| -rw-r--r-- | docs/http.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/http.md b/docs/http.md index f486d52..4e92e5e 100644 --- a/docs/http.md +++ b/docs/http.md @@ -16,7 +16,7 @@ flowchart LR ```sh zig build -Doptimize=ReleaseSafe -./zig-out/bin/cloud9-http --upstream tcp:127.0.0.1:564 +./zig-out/bin/9web --upstream tcp:127.0.0.1:564 # Or run directly: zig build serve -Doptimize=ReleaseSafe -- --upstream unix:/path/to/9p.sock ``` @@ -91,7 +91,7 @@ For a configured serial device: ```sh # Set raw mode, baud rate, and flow control with your platform's serial tools. -./zig-out/bin/cloud9-http --upstream file:/dev/ttyUSB0 +./zig-out/bin/9web --upstream file:/dev/ttyUSB0 ``` The serial path transports 9P bytes; it does not interpret ESP32 boot logs or @@ -174,9 +174,9 @@ checks; it does not allocate fids, mount filesystems, or implement a filesystem. Each Bridge value runs once. Timeout and cancellation stop both pumps before returning. The caller owns and closes the underlying streams. -`app/client.zig` is a browser ABI around the same `cloud9.Client` and `Stat` +`web/client.zig` is a browser ABI around the same `cloud9.Client` and `Stat` implementations. Its WASM memory is fixed at 1 MiB and it imports no host -functions. `app/web/client.mjs` supplies asynchronous WebSocket I/O and file +functions. `web/static/client.mjs` supplies asynchronous WebSocket I/O and file operations. Each browser Client owns a separate WASM instance. The JavaScript contains no 9P encoder or decoder. |
