Class KodiJSONRPCNamespace

Constructors

Methods

  • Notifies all other connected clients with a message.

    Parameters

    • sender: string

      The name of the sender.

    • message: string

      The message to send.

    • Optionaldata: any

      Optional data to include with the message.

    Returns Promise<any>

    A promise resolving to any response from the clients.

  • Pings the JSON-RPC responder.

    Returns Promise<string>

    A promise resolving to a string response.