struct

Obsctl::IPC::CommandPayload

Inherits Struct < Value < Object

Typed command payload sent by CLI clients to the local daemon.

Constructors

new(name : String, target : String | Nil = nil, percent : Int32 | Nil = nil)
Source

Instance methods

clone
Source
copy_with(name _name = @name, target _target = @target, percent _percent = @percent)
Source
name
percent
target
to_json(json : JSON::Builder) : Nil

Writes the wire-format JSON object for this command payload.

Source