Skip to main content
Source

pub async fn ping(&self, url: &Url) -> String

Sends a GET to url, waiting as long as the request timeout, and returns what it answers, or an empty string if it does not.