pub struct HttpFetchLimits {
pub max_body_bytes: u64,
pub timeout_ms: Option<u32>,
pub follow_redirects: Option<u32>,
pub allow_insecure: bool,
}Expand description
Per-call limits forwarded to HttpFetchBackend::fetch alongside the request.
All fields mirror the WASM ABI’s http-fetch-request per-call knobs
(see spec/wasm-abi.md § Host functions). The backend applies the
three-level fallback: per-call override → plugin config default →
daemon default (30 s timeout, 5 redirects, TLS verified).
Fields§
§max_body_bytes: u64§timeout_ms: Option<u32>§follow_redirects: Option<u32>§allow_insecure: boolTrait Implementations§
Source§impl Clone for HttpFetchLimits
impl Clone for HttpFetchLimits
Source§fn clone(&self) -> HttpFetchLimits
fn clone(&self) -> HttpFetchLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpFetchLimits
impl Debug for HttpFetchLimits
Auto Trait Implementations§
impl Freeze for HttpFetchLimits
impl RefUnwindSafe for HttpFetchLimits
impl Send for HttpFetchLimits
impl Sync for HttpFetchLimits
impl Unpin for HttpFetchLimits
impl UnsafeUnpin for HttpFetchLimits
impl UnwindSafe for HttpFetchLimits
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more