Class | FTW::WebServer |
In: |
lib/ftw/webserver.rb
lib/ftw/webserver.rb |
Parent: | Object |
An attempt to invent a simple FTW web server.
Handle a new connection.
This method parses http requests and passes them on to handle_request
@param connection The FTW::Connection being handled.
Handle a new connection.
This method parses http requests and passes them on to handle_request
@param connection The FTW::Connection being handled.
Handle a request. This will set up the rack ‘env’ and invoke the application associated with this handler.