Commit 2bc9be2
committed
Add PTY (pseudo-terminal) API documentation
Adds comprehensive documentation for the new PTY support feature from
PR #310 (cloudflare/sandbox-sdk#310).
New documentation includes:
- Complete PTY API reference with all methods (create, attach, getById, list, etc.)
- PTY handle interface documentation (write, resize, kill, onData, onExit)
- Transport options (HTTP vs WebSocket)
- When to use PTY vs Commands
- Complete examples with xterm.js integration
- Best practices and error handling patterns
- Terminal configuration guide
Also updates the API index page to include the PTY card in the navigation.1 parent 9349794 commit 2bc9be2
2 files changed
+626
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
0 commit comments