Skip to content

Interface: HelloFrame

The first frame on every bridge socket: what this browser is talking to.

Sent ahead of the seeded property definitions, so the contract version is known before anything written in that contract has to be interpreted. A client that never sees one is talking to a bridge older than the frame, which is not an error: see ConnectionState.protocol.

Properties

event

event: "hello"


protocol

protocol: number

The bridge's contract version; compare with CLIENT_PROTOCOL_VERSION.


server

server: string

The INDIkit version serving this socket, for display and bug reports.