Struct sn0int_std::web::Client [−][src]
pub struct Client<R> where
R: DnsResolver, { /* fields omitted */ }Expand description
A Client to make outgoing HTTP requests.
Uses an specific DNS resolver.
Implementations
Create a new client with a specific DNS resolver.
This bypasses /etc/resolv.conf.
Shorthand function to do a GET request with HttpClient::request.
Create a new client with the system resolver from /etc/resolv.conf.
Create a new client with the ipv4 system resolver from /etc/resolv.conf.
Create a new client that is locked to a socks5 proxy