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

Method with_connect_timeout

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

Set the connection timeout.

(mut self, connect_timeout: Duration)

Source from the content-addressed store, hash-verified

113
114 /// Set the connection timeout.
115 pub fn with_connect_timeout(mut self, connect_timeout: Duration) -> Self {
116 self.connect_timeout = connect_timeout;
117 self
118 }
119
120 /// Skip TLS certificate verification (dangerous!).
121 ///

Callers 1

Calls

no outgoing calls

Tested by 1