Class: AppBooster::HTTPHandler
- Inherits:
-
EventMachine::HTTPServer
- Object
- EM::P::HeaderAndContentProtocol
- EventMachine::HTTPServer
- AppBooster::HTTPHandler
- Defined in:
- lib/appbooster-server.rb
Instance Method Summary collapse
Methods inherited from EventMachine::HTTPServer
#parse_request, #receive_request
Instance Method Details
#process_http_request ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/appbooster-server.rb', line 7 def process_http_request puts @query_string response = EM::HttpResponse.new(self) response.status = 200 response.content = QueryParser.time_for(@query_string) response.content_type 'text/html' response.send_response end |