struct

Obsctl::IPC::Event

Inherits Struct < Value < Object

Server-pushed topic event for subscribed long-lived clients.

Constants

TYPE = "event"

Constructors

new(topic : String, data : JSON::Any | Nil = nil)
Source

Instance methods

clone
Source
copy_with(topic _topic = @topic, data _data = @data)
Source
data
to_json(json : JSON::Builder) : Nil

Writes the wire-format JSON object for this event.

Source
topic