Skip to main content
Source

pub async fn ping_with_timeout(&self, url: &Url, timeout_ms: u64) -> String

Sends a GET to url, waiting up to timeout_ms milliseconds (0 for no limit), and returns what it answers, or an empty string if it does not.