Skip to main content

handle_host_browser_pause

Function handle_host_browser_pause 

Source
pub(crate) async fn handle_host_browser_pause(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Json<Value>,
) -> impl IntoResponse
Expand description

POST /api/v1/host/browser_pause — the person’s Pause and Resume in an agent-driven pane’s header, relayed by the CEF host. Only the host can call it: an agent holding the instance auth key gets 403, so no agent can resume itself. Body {block_id, paused}.