Skip to main content

pinned_client

Function pinned_client 

Source
pub fn pinned_client(
    fingerprint: &str,
    timeout: Duration,
) -> Result<Client, String>
Expand description

An HTTPS client that talks only to the server holding the certificate with fingerprint.