Module network

Module network 

Source
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§

ContinueBuilder
Builder for continuing a request with optional modifications.
FetchBuilder
Builder for fetching the actual response with optional request modifications.
FetchedResponse
A response fetched via route.fetch().
FulfillBuilder
Builder for fulfilling a request with a custom response.
HeaderEntry
Response HTTP header entry.
RemoteAddress
Remote server address.
Request
A network request.
RequestSizes
Request size information.
RequestTiming
Request timing information.
Response
A network response.
Route
An intercepted network request that can be fulfilled, continued, or aborted.
RouteHandlerRegistry
Route handler registry for a page or context.
SecurityDetails
Security details for HTTPS responses.

Enums§

AbortError
Error code for aborting requests.
ResourceType
Resource type as it was perceived by the rendering engine.
RouteAction
The result of a route handler action.
UrlPattern
URL pattern for matching requests.

Traits§

UrlMatcher
Trait for types that can match URLs.

Type Aliases§

RouteHandler
A route handler function.