Interface KristWsS2CGetValidSubscriptionLevels

An incoming message sent from the Krist server to a websocket client.

Hierarchy

Properties

error?: string

If ok is false, the error code from the Krist API.

id: number

The message ID that this is in response to. You typically do not need to do anything with this, the library will handle message replies automatically.

message?: string

If ok is false, a human-readable error message from the Krist API.

ok: boolean

Whether the request succeeded.

parameter?: string

If ok is false, the parameter that caused the error (if available).

responding_to_type: "get_valid_subscription_levels"

The type of message that the server is responding to.

type: "response"

The type of incoming message.

valid_subscription_levels: KristWsSubscription[]

The list of subscription levels accepted by the server.

Generated using TypeDoc