Struct hyper::client::pool::Pool
[−]
[src]
pub struct Pool<C: NetworkConnector> {
// some fields omitted
}The NetworkConnector that behaves as a connection pool used by hyper's Client.
Methods
impl Pool<DefaultConnector>
impl<C: NetworkConnector> Pool<C>
fn with_connector(config: Config, connector: C) -> Pool<C>
Creates a Pool with a specified NetworkConnector.
fn clear_idle(&mut self)
Clear all idle connections from the Pool, closing them.