Class: Foxbat::HttpServer

Inherits:
Server
  • Object
show all
Defined in:
lib/foxbat/http_server.rb

Instance Method Summary collapse

Methods inherited from Server

#connection_count, #start, #stop

Constructor Details

#initialize(host, port, klass, options, &block) ⇒ HttpServer

Returns a new instance of HttpServer.



96
97
98
99
100
# File 'lib/foxbat/http_server.rb', line 96

def initialize(host, port, klass, options, &block)
  super(host, port, klass, options, &block)
  @pipeline.releaseExternalResources
  @pipeline = WebPipeline.new(block)
end