Class: Nonnative::HTTPServer

Inherits:
Server show all
Defined in:
lib/nonnative/http_server.rb

Instance Attribute Summary

Attributes inherited from Runner

#proxy

Instance Method Summary collapse

Methods inherited from Server

#start, #stop

Methods inherited from Runner

#name

Constructor Details

#initialize(service) ⇒ HTTPServer

Returns a new instance of HTTPServer.



5
6
7
8
9
# File 'lib/nonnative/http_server.rb', line 5

def initialize(service)
  @server = ::Rackup::Handler.get('webrick')

  super
end