Method: OpenC3::HttpServerInterface#initialize
- Defined in:
- lib/openc3/interfaces/http_server_interface.rb
#initialize(port = 80) ⇒ HttpServerInterface
Returns a new instance of HttpServerInterface.
27 28 29 30 31 32 33 |
# File 'lib/openc3/interfaces/http_server_interface.rb', line 27 def initialize(port = 80) super() @listen_address = '0.0.0.0' # Default to ANY @port = Integer(port) @server = nil @request_queue = Queue.new end |