HTTP Fetch Timeouts
Timeout Configuration
Default Values
Per-Request Timeout
use seda_sdk_rs::{http::http_fetch, HttpFetchOptions};
let response = http_fetch(
"https://httpbin.org/get",
Some(HttpFetchOptions {
timeout_ms: Some(3_000), // 3 seconds timeout
..Default::default()
})
);When to Use Custom Timeouts
Global Timeout Behavior
Example: Multiple HTTP Requests
Last updated
Was this helpful?

