pub(crate) async fn handle_host_browser_permission(
__arg0: State<AppState>,
headers: HeaderMap,
__arg2: Json<Value>,
) -> impl IntoResponseExpand description
POST /api/v1/host/browser_permission — the host holds a page’s camera, microphone, location or
notification request in a pane an agent drives and asks what to do. Body {target, origin, requested, prompt} (prompt: the bits are a permission prompt’s, not a media request’s); answers allow, or
deny (with the agent told why in its next Browser call). Host only.