Method: WebFetch::Server#process_http_request

Defined in:
lib/web_fetch/server.rb

#process_http_requestObject



20
21
22
23
24
25
26
# File 'lib/web_fetch/server.rb', line 20

def process_http_request
  resource = @router.route(@http_request_uri, request_params)
  response = EM::DelegatedHttpResponse.new(self)
  default_headers(response)

  outcome(resource, response)
end