Forwarded by WorkspaceProxy for computerd's outbound /ws upgrade.
(request: Request)
| 104 | |
| 105 | /** Forwarded by WorkspaceProxy for computerd's outbound /ws upgrade. */ |
| 106 | override async fetch(request: Request): Promise<Response> { |
| 107 | const url = new URL(request.url); |
| 108 | if (url.pathname === "/ws") { |
| 109 | return this.#containerBackend.handleFetch(request); |
| 110 | } |
| 111 | return super.fetch(request); |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Hand out a typed RPC stub to the workspace. The worker backend's |
nothing calls this directly
no test coverage detected