module Goliath::Rack::SimpleAroundware
def accept_response(handle, resp_succ, resp)
On receipt of an async result,
def accept_response(handle, resp_succ, resp) self.downstream_resp = resp end
def downstream_resp=(status_headers_body)
def downstream_resp=(status_headers_body) @status, @headers, @body = status_headers_body end
def initialize(env)
-
(Goliath::Rack::SimpleAroundware)
-
Parameters:
-
env
(Goliath::Env
) -- The request environment
def initialize(env) @env = env end
def post_process
-
(Array)
- array contains [status, headers, body]
def post_process [status, headers, body] end
def pre_process
-
(Array)
- array contains [status, headers, body]
def pre_process Goliath::Connection::AsyncResponse end