Skip to main content

bypassed_click

Function bypassed_click 

Source
pub(crate) async fn bypassed_click(
    state: &AppState,
    block_id: &str,
    agent: &str,
    ask: &Value,
    approved: Value,
    route: &str,
    log: Note,
) -> Option<Response>
Expand description

The click ask describes (a committing click’s needs_approval), made without the person’s approval if they granted agent a bypass on the site the page is on (bypass spec §4.1). approved is the act request to send for it. page is the address the host read from the page itself. A payment still asks (§11.2). None: ask as usual. log describes the click for the pane’s action log. route is the host route that makes the click (act, or press for Enter and Space taken as one).