Interface SetReplyPacket

Sent to clients in response to a SetPacket if want_reply was set to true, or if the client has registered to receive updates for a certain key using the SetNotifyPacket. SetReplyPackets are sent even if a SetPacket package did not alter the value for the key.

Additional arguments added to the SetPacket that triggered this SetReplyPacket will also be passed along.

interface SetReplyPacket {
    cmd: "SetReply";
    key: string;
    original_value: JSONSerializable;
    value: JSONSerializable;
    [p: string]: JSONSerializable;
}

Indexable

Properties

cmd
key: string

The key that was updated.

original_value: JSONSerializable

The value the key had before it was updated.

The new value for the key.