4 ms·
It's basically just like a method call on a future: use hyper::Client; let client = Client::new(); let resp = client.get(url).await;
by mrkurt 7y ago
It's basically just like a method call on a future:
use hyper::Client;
let client = Client::new();
let resp = client.get(url).await;