Class: HTTPHandler

Inherits:
EM::HttpServer::Server
  • Object
show all
Defined in:
lib/em-http-server/server.rb

Instance Method Summary collapse

Instance Method Details

#process_http_requestObject


87
88
89
90
91
92
93
94
95
96
# File 'lib/em-http-server/server.rb', line 87

def process_http_request
  puts  @http_request_method
  puts  @http_request_uri
  puts  @http_query_string
  puts  @http_protocol
  puts  @http[:cookie]
  puts  @http[:content_type]
  puts  @http_content
  puts  @http.inspect
end