summaryrefslogtreecommitdiff
path: root/docs/http.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/http.md')
-rw-r--r--docs/http.md8
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.