pub(crate) async fn proxy_to_host_timeout(
state: &AppState,
host: &HostIpc,
route: &str,
body: Value,
timeout: Option<Duration>,
) -> Result<Value, String>Expand description
proxy_to_host with a request timeout of its own, for host routes that
legitimately take longer than the shared client’s default (a snapshot of
a large page, wait_for).