Interface: ConnectionState¶
Combined connection state: browser<->bridge and bridge<->indiserver.
Properties¶
protocol¶
protocol:
number|null
The bridge's contract version, from its hello frame.
null before any frame has arrived on the current socket, and 0 once a
frame that was not a hello has arrived first - which means a bridge older
than the frame, not an unknown one. Compare with
CLIENT_PROTOCOL_VERSION; a mismatch is never fatal.
transport¶
transport:
boolean
Whether the browser<->bridge WebSocket is open.
upstream¶
upstream:
boolean
Whether the bridge reports a live indiserver connection.