Expand description
Network interception and monitoring.
This module provides types for intercepting and modifying network requests, monitoring network activity, and replaying network traffic from HAR files.
Re-exports§
pub use events::NetworkEvent;pub use events::NetworkEventListener;pub use events::RequestEvent;pub use events::RequestFailedEvent;pub use events::RequestFinishedEvent;pub use events::ResponseEvent;pub use events::WaitForRequestBuilder;pub use events::WaitForResponseBuilder;pub use har::Har;pub use har::HarEntry;pub use har::HarPage;pub use har::HarRequest;pub use har::HarResponse;pub use har::HarTimings;pub use har_recorder::HarRecorder;pub use har_recorder::HarRecordingBuilder;pub use har_recorder::HarRecordingOptions;pub use har_replay::HarReplayHandler;pub use har_replay::HarReplayOptions;pub use har_replay::HarResponseData;pub use har_replay::TimingMode;pub use har_replay::UpdateContentMode;pub use websocket::WebSocket;pub use websocket::WebSocketFrame;pub use websocket::WebSocketManager;
Modules§
- auth
- HTTP authentication handling.
- events
- Network event handling.
- har
- HAR (HTTP Archive) format support.
- har_
recorder - HAR (HTTP Archive) recording.
- har_
replay - HAR replay functionality.
- websocket
- WebSocket monitoring.
Structs§
- Continue
Builder - Builder for continuing a request with optional modifications.
- Fetch
Builder - Builder for fetching the actual response with optional request modifications.
- Fetched
Response - A response fetched via
route.fetch(). - Fulfill
Builder - Builder for fulfilling a request with a custom response.
- Header
Entry - Response HTTP header entry.
- Remote
Address - Remote server address.
- Request
- A network request.
- Request
Sizes - Request size information.
- Request
Timing - Request timing information.
- Response
- A network response.
- Route
- An intercepted network request that can be fulfilled, continued, or aborted.
- Route
Handler Registry - Route handler registry for a page or context.
- Security
Details - Security details for HTTPS responses.
Enums§
- Abort
Error - Error code for aborting requests.
- Resource
Type - Resource type as it was perceived by the rendering engine.
- Route
Action - The result of a route handler action.
- UrlPattern
- URL pattern for matching requests.
Traits§
- UrlMatcher
- Trait for types that can match URLs.
Type Aliases§
- Route
Handler - A route handler function.