Module inspect
Available on crate features
http and inspect and std and ws only.Expand description
WebSocket inspection layered onto an HTTP handshake capture. HTTP owns the handshake and generic upgrade lifetime; this module owns message records, replay, injection and relay decisions.
Modules§
- har
- Streaming WebSocket HAR fields, owned by the WebSocket adapter.
Structs§
- Capture
WebSocket Layer - Bind an inspector exchange to the lifetime of the actual WebSocket relay.
- Capture
WebSocket Service - Captured
WebSocket Message - WebSocket
Details - WebSocket
Limits - Per-exchange limit on retained WebSocket messages.
- WebSocket
Message Metadata - Small serializable message head, independent of its raw payload reader.
- WebSocket
Message Preview - Bounded raw payload prefix with the original message metadata and full length.
Enums§
Traits§
Functions§
- inspect_
websocket_ event - observe_
handshake - Recognize an HTTP/1 upgrade or HTTP/2 extended CONNECT handshake. The marker and limits are owned here; HTTP capture doesn’t import WebSocket definitions.
- read_
details - Read a page from a retained exchange, including after it leaves the live capture list.
- read_
preview_ details - Read a page of bounded prefixes for a GUI or TUI without materializing messages. The interface chooses its per-message limit from the metadata. Full payloads remain available through record streams and the explicit owned details API.