MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / danger_accept_invalid_certs

Method danger_accept_invalid_certs

atomic-remote/src/http/mod.rs:124–127  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 {

Callers 5

build_remote_configMethod · 0.80
build_remote_configMethod · 0.80
build_remote_configMethod · 0.80
with_configMethod · 0.80

Calls

no outgoing calls

Tested by 1