Class: Nonnative::HTTPServer
- Defined in:
- lib/nonnative/http_server.rb
Instance Attribute Summary
Attributes inherited from Runner
Instance Method Summary collapse
-
#initialize(service) ⇒ HTTPServer
constructor
A new instance of HTTPServer.
Methods inherited from Server
Methods inherited from Runner
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 |