struct
Obsctl::Config::ConnectionConfig
- Obsctl::Config::ConnectionConfig
- Struct
- Value
- Object
Overview
obs-websocket connection settings read only by server or embedded clients.
Included Modules
- YAML::Serializable
Defined in:
obsctl/config/config.crConstant Summary
-
DEFAULT_PASSWORD_ENV =
"OBS_WEBSOCKET_PASSWORD"
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(host : String = "127.0.0.1", port : Int32 = 4455, password_env : String | Nil = DEFAULT_PASSWORD_ENV, password : String | Nil = nil, connect_timeout_ms : Int32 = 3000, request_timeout_ms : Int32 = 2500, reconnect : ReconnectConfig | Nil = nil)
Instance Method Summary
- #after_initialize : Nil
- #connect_timeout_ms : Int32
- #host : String
- #password : String | Nil
- #password_env : String | Nil
- #port : Int32
- #reconnect : ReconnectConfig | Nil
- #request_timeout_ms : Int32
Constructor Detail
def self.new(host : String = "127.0.0.1", port : Int32 = 4455, password_env : String | Nil = DEFAULT_PASSWORD_ENV, password : String | Nil = nil, connect_timeout_ms : Int32 = 3000, request_timeout_ms : Int32 = 2500, reconnect : ReconnectConfig | Nil = nil)
#