Function NatsConfigSub

  • Generates the config request NATS subject:

    io.[SN].updated.config

    Set or get the configuration for Toggle. To get the configuration, send an empty payload or ConfigRequest with request type "get". To set the configuration, send the new configuration Config.

    Payload Config or ConfigRequest. Response payload: NatsResponse or Config.

    Returns

    Nats subject

    Parameters

    • sn: string

      Serial number of Toggle

    Returns string

Generated using TypeDoc