Returns a wrapper around the global [fig_request::client] that implements [HttpClient].
()
| 16 | /// Returns a wrapper around the global [fig_request::client] that implements |
| 17 | /// [HttpClient]. |
| 18 | pub fn client() -> Client { |
| 19 | let client = crate::request::new_client().expect("failed to create http client"); |
| 20 | Client::new(client.clone()) |
| 21 | } |
| 22 | |
| 23 | /// A wrapper around [reqwest::Client] that implements [HttpClient]. |
| 24 | /// |
nothing calls this directly
no test coverage detected