Class: OBS::WebSocket::Protocol::Responses::GetStreamSettings
- Inherits:
-
OBS::WebSocket::Protocol::Response
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Response
- OBS::WebSocket::Protocol::Responses::GetStreamSettings
- Defined in:
- lib/obs/websocket/protocol.rb
Overview
Instance Attribute Summary collapse
-
#settings ⇒ Hash
readonly
settings
field. -
#type ⇒ String
readonly
type
field.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Response
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Response
Instance Attribute Details
#settings ⇒ Hash (readonly)
Returns settings
field.
4442 |
# File 'lib/obs/websocket/protocol.rb', line 4442 def settings; get_field("settings", Types::Object[{:server=>{:type=>Types::String, :json_name=>"server"}, :key=>{:type=>Types::String, :json_name=>"key"}, :use_auth=>{:type=>Types::Boolean, :json_name=>"use_auth"}, :username=>{:type=>Types::String, :json_name=>"username"}, :password=>{:type=>Types::String, :json_name=>"password"}}]); end |