class AppBooster::HTTPHandler

Public Instance Methods

process_http_request() click to toggle source
# 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