Skip to main content

Module sdk

Module sdk 

Source
Expand description

Client-side SDK. Never imports chromiumoxide; speaks CDP over raw WebSocket and HTTP over reqwest. Everything browser-dependent goes through an afhttp host endpoint.

Re-exports§

pub use client::Client;
pub use endpoint::Endpoint;
pub use fetch::FetchBuilder;
pub use fetch::FetchCookie;
pub use fetch::FetchResult;
pub use fetch::RenderMode;
pub use fetch::Wait;
pub use inline::InlineConfig;
pub use takeover::TakeoverHandoffResponse;
pub use takeover::TakeoverUiSession;

Modules§

capabilities
/capabilities client. Shape from architecture.md §6.
cdp
Raw CDP client: a WebSocket transport with flattened-session multiplexing for multi-attach.
client
The SDK entry point.
endpoint
Endpoint URL parsing.
fetch
Fetch pipeline: HTTP-only fast path, browser-backed render path (--render none|auto|always), and the fetch artifacts (architecture.md §8).
health
/health client. Hits the host’s HTTP endpoint and returns the parsed shape from architecture.md §6.
inline
Inline ephemeral host support for CLI/SDK convenience.
profile
Local profile lifecycle: list / info / lock-status / downloads / delete / prune.
takeover
Client helpers for human-takeover URLs and process-bound UI leases.

Enums§

FetchCookieSameSite
The SameSite cookie attribute.