Method: OpenC3::HttpServerInterface#write_interface

Defined in:
lib/openc3/interfaces/http_server_interface.rb

#write_interface(_data, _extra = nil) ⇒ Object

Writes to the socket

Parameters:

  • data (Hash)

    For the HTTP Interface, data is a hash with the needed request info



164
165
166
# File 'lib/openc3/interfaces/http_server_interface.rb', line 164

def write_interface(_data, _extra = nil)
  raise "Commands cannot be sent to HttpServerInterface"
end