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

Method with_timeout

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

Set the request timeout.

(mut self, timeout: Duration)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by 1