Struct httpbis::client::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
Methods
impl Client
[src]
fn new_plain(host: &str, port: u16, conf: ClientConf) -> Result<Client>
fn new_tls<C: TlsConnector>(
host: &str,
port: u16,
conf: ClientConf
) -> Result<Client>
host: &str,
port: u16,
conf: ClientConf
) -> Result<Client>
fn new_expl<C: TlsConnector>(
addr: &SocketAddr,
tls: ClientTlsOption<C>,
conf: ClientConf
) -> Result<Client>
addr: &SocketAddr,
tls: ClientTlsOption<C>,
conf: ClientConf
) -> Result<Client>