Merge pull request #1103 from d12i/client-handle-getter
feat(client): add Client::handle
This commit is contained in:
		| @@ -77,6 +77,12 @@ impl Client<HttpConnector, http::Body> { | ||||
| } | ||||
|  | ||||
| impl<C, B> Client<C, B> { | ||||
|     /// Return a reference to a handle to the event loop this Client is associated with. | ||||
|     #[inline] | ||||
|     pub fn handle<'a>(&'a self) -> &'a Handle { | ||||
|         &self.handle | ||||
|     } | ||||
|  | ||||
|     /// Create a new client with a specific connector. | ||||
|     #[inline] | ||||
|     fn configured(config: Config<C, B>, handle: &Handle) -> Client<C, B> { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user