Class: OpenC3::AllScriptsWebSocketApi

Inherits:
ScriptWebSocketApi show all
Defined in:
lib/openc3/script/web_socket_api.rb

Overview

All Scripts WebSocket

Constant Summary

Constants inherited from WebSocketApi

WebSocketApi::DEFAULT_OPTIONS, WebSocketApi::USER_AGENT

Instance Method Summary collapse

Methods inherited from ScriptWebSocketApi

#generate_url

Methods inherited from WebSocketApi

cable_url, #check_protocol_frame, #connect, #connected?, #disconnect, #generate_auth, #parse_message, #read, #read_message, #subscribe, #unsubscribe, #wait_for_subscribed, #write, #write_action, #write_command

Constructor Details

#initialize(**options) ⇒ AllScriptsWebSocketApi

Returns a new instance of AllScriptsWebSocketApi.



363
364
365
366
367
368
# File 'lib/openc3/script/web_socket_api.rb', line 363

def initialize(**options)
  @identifier = {
    channel: "AllScriptsChannel",
  }
  super(**options)
end