struct
Obsctl::IPC::CommandPayload
- Obsctl::IPC::CommandPayload
- Struct
- Value
- Object
Overview
Typed command payload sent by CLI and TUI clients to the local daemon.
Defined in:
obsctl/ipc/request.crConstructors
Instance Method Summary
- #clone
- #copy_with(name _name = @name, target _target = @target, percent _percent = @percent)
- #name : String
- #percent : Int32 | Nil
- #target : String | Nil
-
#to_json(json : JSON::Builder) : Nil
Writes the wire-format JSON object for this command payload.
Constructor Detail
Instance Method Detail
def copy_with(name _name = @name, target _target = @target, percent _percent = @percent)
#
def to_json(json : JSON::Builder) : Nil
#
Writes the wire-format JSON object for this command payload.