Module PocketMeshPeer.SignalChannel

All info about the signal channel.

type t;
type connectionState =
| Connecting

Local node is trying to connect to the server. Failed attempts are automatically retried with exponential backoff.

| Connected

Connection to the signal server is established.

;

State of the connection to signal server.

let url: t => string;

Returns the currently used URL address of the signal server.

let connectionState: t => connectionState;

Returns description of connection state to the signal server.