Skip to main content

Module protocol

Module protocol 

Source
Expand description

Browser/server WebSocket protocol types.

Structs§

BridgeErrorPayload
Error information returned without exposing secrets.
BridgeEventMessage
Event envelope sent after a browser pairs or reconnects.
BridgeResponse
A JSON response envelope sent to the browser.
BridgeSettings
Non-secret bridge settings returned to an authenticated browser.
FileChange
A structured browser edit proposal.
PairPayload
Pairing response payload.
StatusPayload
Status response payload.

Enums§

BridgeRequest
Browser requests accepted by the WebMCP server.

Constants§

PROTOCOL_VERSION
Current browser/server protocol version.