Skip to main content

handle_host_browser_navigation

Function handle_host_browser_navigation 

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

POST /api/v1/host/browser_navigation — the host stopped a navigation off a pane’s site list (allowed-origins spec §4). Body {pane, target, url, kind}: pane is the pane the list belongs to, target the pane or popup window that was navigating, kind navigate (replayed on Allow) or popup (not: the person or agent clicks again). Only the host calls it. Answers at once; the question runs on its own.