Struct chrootable_https::Client[][src]

pub struct Client<R: DnsResolver> { /* fields omitted */ }

Methods

impl<R: DnsResolver> Client<R>
[src]

Create a new client with a specific dns resolver.

This bypasses /etc/resolv.conf

Set a timeout, default is no timeout

Pre-populate the dns-cache. This function is usually called internally

Shorthand function to do a GET request with HttpClient::request

impl Client<Resolver>
[src]

Create a new client with the system resolver from /etc/resolv.conf

Trait Implementations

impl<R: Debug + DnsResolver> Debug for Client<R>
[src]

Formats the value using the given formatter. Read more

impl<R: DnsResolver> HttpClient for Client<R>
[src]

Auto Trait Implementations

impl<R> Send for Client<R> where
    R: Send

impl<R> Sync for Client<R> where
    R: Sync