class Obsctl::OBS::Connection

Overview

Opens the raw obs-websocket transport for an OBS connection config.

Defined in:

obsctl/obs/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config::ConnectionConfig) #

[View source]

Instance Method Detail

def connect : HTTP::WebSocket #

Connects to OBS and converts low-level connection failures into a domain error.


[View source]
def websocket : HTTP::WebSocket #

[View source]