Method: OpenC3::HttpServerInterface#set_option

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

#set_option(option_name, option_values) ⇒ Object

Supported Options LISTEN_ADDRESS - Ip address of the interface to accept connections on (see Interface#set_option)



38
39
40
41
42
43
44
# File 'lib/openc3/interfaces/http_server_interface.rb', line 38

def set_option(option_name, option_values)
  super(option_name, option_values)
  case option_name.upcase
  when 'LISTEN_ADDRESS'
    @listen_address = option_values[0]
  end
end