Web SDK - RainwayConnection.id

Home > @rainway/web > RainwayConnection > id

RainwayConnection.id property

A numeric ID identifying the local peer.

A Peer ID identifies a Rainway peer to other peers, and on web is persisted in LocalStorage.

Signature:

get id(): PeerId;