Skip to main content

proxy_to_host

Function proxy_to_host 

Source
async fn proxy_to_host(
    state: &AppState,
    host: &HostIpc,
    route: &str,
    body: Value,
) -> Result<Value, String>
Expand description

POST body to /agentmux/browser/{route} on the paired host and return its parsed JSON response (the host’s own {ok, data} / {ok, error} envelope — see browser_api::types::ApiResponse).