Class PeerJSTransport

Hierarchy

  • PeerJSTransport

Implements

Constructors

Properties

_localPeerId: string
connections: Map<string, DataConnectionLike> = ...
listeners: ListenerMap = ...
peer: PeerLike
pendingConnections: Map<string, DataConnectionLike> = ...

Accessors

Methods

  • Send a message to a specific remote peer

    Parameters

    • remotePeerId: string
    • data: unknown

    Returns Promise<void>

Generated using TypeDoc