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

Method danger_accept_invalid_certs

atomic-remote/src/http/mod.rs:127–130  ·  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

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

Callers 8

build_remote_sourceFunction · 0.80
build_remote_configMethod · 0.80
build_remote_configMethod · 0.80
run_remoteMethod · 0.80
build_remote_configMethod · 0.80
with_configMethod · 0.80
remote_configFunction · 0.80

Calls

no outgoing calls

Tested by 1