Skip to main content

Module builder

Module builder 

Source
Expand description

InterceptBuilder — fluent rule + pattern registration.

Two-phase API:

The tab field is a borrow of SessionHandle (not the full Tab from zendriver core) — this crate must not depend on zendriver (cycle). Tab::intercept() in zendriver constructs the builder via InterceptBuilder::new(self.session()).

Structs§

InterceptBuilder
Fluent builder for rule-based interception against a single tab session.
RequestPattern
A pending Fetch.RequestPattern entry to send on Fetch.enable.