Skip TLS certificate verification (dangerous!). Only use this for testing or when connecting to servers with self-signed certificates that you trust.
(mut self, accept: bool)
| 124 | /// Only use this for testing or when connecting to servers with self-signed |
| 125 | /// certificates that you trust. |
| 126 | pub fn danger_accept_invalid_certs(mut self, accept: bool) -> Self { |
| 127 | self.danger_accept_invalid_certs = accept; |
| 128 | self |
| 129 | } |
| 130 | |
| 131 | /// Add an extra header to send with each request. |
| 132 | pub fn with_header(mut self, name: impl Into<String>, value: impl Into<String>) -> Self { |
no outgoing calls