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