Skip to main content

Module ui

Module ui 

Source
Expand description

afhttp ui takeover subcommand. Publishes the takeover panel as a UI session and blocks until that session ends.

panel and fetch --takeover hand back a URL and exit; whether anyone ever opened it, and whether they are finished, is left for the agent to guess. This command is the other half: it holds the session open and returns when it ends, which for a takeover is the only ending there is. A VNC canvas carries no submit control, so there is nothing for the person to confirm and no typed result to collect.

Two deliveries of that one session, because the person is not always at this machine. A window is the local one: it opens here, and closing it is the ending. --takeover-no-window is the remote one: the panel is announced to the cross-process session registry so afui session list can see it and afui session serve can frame it on a phone, and the ending is the credential running out or this command being stopped. The panel is announced either way — a person at this machine may still want it on their phone.

The credential in that panel URL is the host’s, not AFUI’s. AFUI is told where the panel is and lists it; afhttp minted the credential, afhttp’s TTL governs it, and afhttp revokes it on a profile switch or host shutdown. Ending this command withdraws the listing and nothing else.

Structs§

Args

Enums§

Delivery
How the panel is put in front of a person.
TakeoverArgs
UiSub

Functions§

run