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

Method with_connect_timeout

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

Set the connection timeout.

(mut self, connect_timeout: Duration)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by 1