Class: Foxbat::HttpServer
Instance Method Summary collapse
-
#initialize(host, port, klass, options, &block) ⇒ HttpServer
constructor
A new instance of HttpServer.
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, , &block) super(host, port, klass, , &block) @pipeline.releaseExternalResources @pipeline = WebPipeline.new(block) end |