JoinMessage: {
    peerMetadata: PeerMetadata;
    senderId: PeerId;
    supportedProtocolVersions: ProtocolVersion[];
    type: "join";
}

Sent by the client to the server to tell the server the clients PeerID

Type declaration

  • peerMetadata: PeerMetadata

    Metadata presented by the peer

  • senderId: PeerId

    The PeerID of the client

  • supportedProtocolVersions: ProtocolVersion[]

    The protocol version the client supports

  • type: "join"

Generated using TypeDoc