pub fn serve(
ctx: &Ctx,
path: &str,
fit: &str,
layout: Option<&str>,
p: &mut dyn Progress,
) -> Result<()>Expand description
Serve one client at a time on a unix socket at path.
Each client sends a Header then frames, paced at the header’s fps. The
panel keeps the last frame between clients. Ctrl-C removes the socket and
exits.