(&mut self)
| 1562 | } |
| 1563 | |
| 1564 | fn update_http_client(&mut self) -> Result<(), Error> { |
| 1565 | let proxy = self.get_proxy(); |
| 1566 | let timeout = self.get_timeout(); |
| 1567 | let http_client = create_http_client(timeout, proxy)?; |
| 1568 | self.set_http_client(http_client); |
| 1569 | Ok(()) |
| 1570 | } |
| 1571 | |
| 1572 | fn get_ttl(&self) -> u64 { |
| 1573 | self.get_config().ttl |
no test coverage detected