MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / http_agent_with_timeout

Function http_agent_with_timeout

tests/common/mod.rs:389–395  ·  view source on GitHub ↗
(timeout: Duration)

Source from the content-addressed store, hash-verified

387}
388
389pub fn http_agent_with_timeout(timeout: Duration) -> ureq::Agent {
390 ureq::Agent::config_builder()
391 .http_status_as_error(false)
392 .timeout_global(Some(timeout))
393 .build()
394 .into()
395}
396
397#[cfg(unix)]
398pub struct DaemonProcess {

Calls 1

buildMethod · 0.80