pub fn serve_with_surface_factory(
cx: &mut Cx,
config: &ServeConfig,
surface_factory: Box<dyn LiveSurfaceFactory + Send + Sync>,
) -> Result<()>Expand description
Bind and serve the shell with a caller-provided browser surface factory.
Domain products use this composition point to supply their own
SurfaceCodec, transport, resource, and diminished authority while retaining
the shell’s HTTP lifecycle, opaque browser-session table, and one generic
Scene interpreter.