Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/protocol / subprotocol / PROTOCOL_VERSION

Variable: PROTOCOL_VERSION

ts
const PROTOCOL_VERSION: "1" = '1';

Defined in: subprotocol.ts:31

Wire-format major version literal carried on every message body. The pair (SUBPROTOCOL_NAME, PROTOCOL_VERSION) is the binding contract a client commits to when it receives a successful upgrade.

Stable