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

Method with_timeout

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

Set the request timeout.

(mut self, timeout: Duration)

Source from the content-addressed store, hash-verified

110
111 /// Set the request timeout.
112 pub fn with_timeout(mut self, timeout: Duration) -> Self {
113 self.timeout = timeout;
114 self
115 }
116
117 /// Set the connection timeout.
118 pub fn with_connect_timeout(mut self, connect_timeout: Duration) -> Self {

Callers 2

remote_configFunction · 0.45

Calls

no outgoing calls

Tested by 1