Skip to main content

Module fetch

Module fetch 

Source
Expand description

Fetch pipeline: HTTP-only fast path, browser-backed render path (--render none|auto|always), and the fetch artifacts (architecture.md §8).

Re-exports§

pub use pipeline::NetworkBodies;
pub use pipeline::RenderMode;
pub use result::FetchError;
pub use result::FetchResult;
pub use result::PageKind;
pub use wait::Wait;

Modules§

artifacts
Per-artifact extractors for the seven fetch artifacts. body is used by both the HTTP fast path and the browser path.
pipeline
Render-mode state machine.
result
Fetch result envelope (the JSON the agent reads on success).
wait
Wait condition for browser-backed fetches (architecture.md §5).
writer
Atomic artifact writes into --out/<request_id>/.

Structs§

FetchBuilder
Builder for Client::fetch(...).send().await.

Enums§

FetchCookieSameSite
The SameSite cookie attribute.

Constants§

DEFAULT_NETWORK_BODY_MAX_BYTES
Default per-network-response body capture cap: 10 MiB.

Type Aliases§

FetchCookie