| 91 | // hands back round-trip into this DO; the actual SyncRPC + ShellRPC |
| 92 | // traffic stays on the computerd ↔ DO capnweb wire. |
| 93 | export class ContainerExample extends withWorkspace(ContainerBase, workspaceOptions) { |
| 94 | // ---- WebSocket: computerd's outbound /ws upgrade --------------------- |
| 95 | |
| 96 | override async fetch(request: Request): Promise<Response> { |
| 97 | return this.backend.handleFetch(request); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | // --------------------------------------------------------------- |
| 102 | // Worker HTTP surface (unchanged) |
nothing calls this directly
no test coverage detected