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

Method danger_accept_invalid_certs

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

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 {

Callers 6

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

Calls

no outgoing calls

Tested by 1