Skip to main content

handle_host_request

Function handle_host_request 

Source
pub(crate) async fn handle_host_request(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Json<DesktopAnswer>,
) -> Response
Expand description

POST /api/v1/host/desktop_request: the user’s answer to a prompt, relayed by the CEF host with its own token. The instance auth key, which every agent has, isn’t enough.