MeshNode is the interface for working with MeshNodes over the AppDaemon query RPC.

Generated

From ts-rpcdb.ts.tmpl

Hierarchy

  • MeshNodes

Constructors

Properties

Methods

Constructors

Properties

The client to use for RPC calls.

connID: string

The connection ID to use for RPC calls.

Methods

  • Deletes the MeshNode with the given ID.

    Parameters

    • id: string

      The ID of the node.

    Returns Promise<void>

  • Returns the MeshNode with the given ID.

    Parameters

    • id: string

      The ID of the node.

    Returns Promise<MeshNode>

    The MeshNode with the given ID.

  • Returns the MeshNode with the given pubkey.

    Parameters

    • pubkey: string

      The base64 encoded public key of the node.

    Returns Promise<MeshNode>

    The MeshNode with the given pubkey.

  • Puts the given MeshNode.

    Parameters

    • obj: MeshNode

      The MeshNode to put into the mesh storage.

    Returns Promise<void>

Generated using TypeDoc