Const
Readonly
methods: { Readonly
getGetStatus gets the status of a node in the cluster. If the node is not able to return the status of the ID requested, it should return an error.
from rpc v1.Node.GetStatus
Readonly
I: typeof GetStatusRequestReadonly
O: typeof StatusReadonly
kind: UnaryReadonly
name: "GetStatus"Readonly
negotiateNegotiateDataChannel is used to negotiate a WebRTC connection between a webmesh client and a node in the cluster. The handling server will send the target node the source address, the destination for traffic, and STUN/TURN servers to use for the negotiation. The node responds with an offer to be forwarded to the client. When the handler receives an answer from the client, it forwards it to the node. Once the node receives the answer, the stream can optionally be used to exchange ICE candidates.
from rpc v1.Node.NegotiateDataChannel
Readonly
I: typeof DataChannelNegotiationReadonly
O: typeof DataChannelNegotiationReadonly
kind: BiDiStreamingReadonly
name: "NegotiateDataChannel"Readonly
receiveReceiveSignalChannel is used to receive a request to start a WebRTC connection between a remote node and this node. The node should wait for the client to send an offer, and then respond with an answer. Once the node receives the answer, the stream can optionally be used to exchange ICE candidates.
from rpc v1.Node.ReceiveSignalChannel
Readonly
I: typeof WebRTCSignalReadonly
O: typeof WebRTCSignalReadonly
kind: BiDiStreamingReadonly
name: "ReceiveSignalChannel"Readonly
typefrom service v1.Node
Generated using TypeDoc
Node is the service exposed on every node in the mesh to communicate network information amongst themselves and facilitate inbound/outbound connections.