Constructors

  • Parameters

    • options: {
          channel: Channel;
          logger: undefined | Logger;
          peerId: string;
          protomux: Protomux<any>;
      }

    Returns Peer

Accessors

  • get connected(): Promise<any>
  • A promise that resolves when the peer connects, or rejects if it fails to connect

    Returns Promise<any>

Methods

  • Parameters

    • buf: Buffer

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • deviceInfo: DeviceInfo

    Returns void

  • Parameters

    • deviceInfo: DeviceInfo

    Returns void

  • Parameters

    • invite: Invite

    Returns void

  • Parameters

    • inviteCancel: InviteCancel

    Returns void

  • Parameters

    • response: InviteResponse

    Returns void

  • Parameters

    • details: ProjectJoinDetails

    Returns void