Expand description
WebSocket protocol message types.
Internal module defining command/response/event structures. WebSocket protocol message types.
This module defines the message format for communication between local end (Rust) and remote end (Extension).
§Protocol Overview
From ARCHITECTURE.md Section 2:
| Message Type | Direction | Purpose |
|---|---|---|
Request | Local → Remote | Command request |
Response | Remote → Local | Command response |
Event | Remote → Local | Browser notification |
EventReply | Local → Remote | Event decision |
§Command Naming
Commands follow module.methodName format:
browsingContext.navigateelement.findnetwork.addIntercept
§Modules
| Module | Description |
|---|---|
command | Command definitions by domain |
event | Event and EventReply types |
request | Request and Response types |
Re-exports§
pub use command::BrowsingContextCommand;pub use command::Command;pub use command::Cookie;pub use command::ElementCommand;pub use command::InputCommand;pub use command::NetworkCommand;pub use command::ProxyCommand;pub use command::ScriptCommand;pub use command::SessionCommand;pub use command::StorageCommand;pub use event::Event;pub use event::EventReply;pub use event::ParsedEvent;pub use request::Request;pub use request::Response;pub use request::ResponseType;