struct
Obsctl::OBS::Protocol::Event
- Obsctl::OBS::Protocol::Event
- Struct
- Value
- Object
Overview
Parsed obs-websocket Event message with opcode 5.
Defined in:
obsctl/obs/protocol/event.crConstructors
Class Method Summary
-
.from_frame(frame : String) : self | Nil
Parses a raw JSON frame and returns nil when it is not an event.
Instance Method Summary
- #clone
- #copy_with(event_type _event_type = @event_type, event_data _event_data = @event_data)
- #event_data : JSON::Any | Nil
- #event_type : String
Constructor Detail
Class Method Detail
def self.from_frame(frame : String) : self | Nil
#
Parses a raw JSON frame and returns nil when it is not an event.
Instance Method Detail
def copy_with(event_type _event_type = @event_type, event_data _event_data = @event_data)
#