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