![]()
Initializes this transport. Registers a listener for 'message'-events
on the document.
Arguments:
|
code » | ||
Processes an incoming message-event.
Arguments:
Returns: boolean
True if message was successfully delivered to a channel.
|
code » | ||
Parse a transport service payload message. For v1, it is simply expected to
be 'SETUP' or 'SETUP_ACK'. For v2, an example setup message is
'SETUP_NTPV2,abc123', where the second part is the endpoint id. The v2 setup
ack message is simply 'SETUP_ACK_NTPV2'.
|
code » |