Skip to main content

Module pane

Module pane 

Source
Expand description

One streamed pane: its windows (a page of the server’s Chromium each, windows.rs) behind one WebSocket. Frames of the shown window go out as JPEG and are acknowledged only once handed to the socket; input comes in and goes to the shown window. docs/specs/SPEC_STREAMED_BROWSER_PANE_DEMO_2026_11_15.md §4 to §6.

The logic is in Pane, which answers each event or message with the things to send (Out), so it is tested with a stand-in browser and no socket; run is the loop that connects it to a WebSocket.

Structs§

PageState 🔒
What the pane keeps of a window that the list of windows does not.
Pane 🔒
Start

Enums§

Out 🔒
What a pane has to send, in order.

Constants§

BLOCKED_URLS 🔒
URL patterns no page may load (Network.setBlockedURLs): local files and the browser’s own internal pages.
FRAME 🔒
Kind byte of a binary message: a JPEG frame.
JPEG_QUALITY 🔒
The quality of the screencast (report section 6: SSIM 0.998 at 141 kB for a full frame).

Functions§

listen 🔒
run
Run a pane until its socket closes, its first page ends, or the sign-in behind it does.
screencast 🔒
send_out 🔒
viewport 🔒

Type Aliases§

Events 🔒