Expand description
The host’s control lines to the server, on stdout.
The input pipe runs the other way. The server writes pointer gestures on the host’s stdin; the host writes the things a viewer has to answer here - a page’s file chooser today - as one JSON line per event on its stdout, which the server reads beside the child’s frames. The log stays on stderr, so neither stream is parsed for the other’s content.
Re-exports§
use std::io::Write as _;🔒use serde::Deserialize;🔒use serde::Deserialize;🔒use serde::Serialize;🔒use serde::Serialize;🔒
Enums§
- Host
Event - One thing the host needs the server to route.
- JsDialog
State - Where a JavaScript dialog stands. The host holds one until it is
answered, so these are the facts there are: it was raised, someone
answered it, or the page took it away without an answer (a navigation, or
the tab closing).
Closedis notAnswered: nobody decided.