class Protocol::Rack::Adapter::Rack2
def call(request)
Build a rack `env` from the incoming request and apply it to the rack middleware.
def call(request) env = self.make_environment(request) status, headers, body = @app.call(env) headers, meta = self.wrap_headers(headers) # Rack 2 spec does not allow only partial hijacking. # if hijack_body = meta[RACK_HIJACK] # body = hijack_body # end return Response.wrap(env, status, headers, meta, body, request) rescue => exception Console.logger.error(self) {exception} body&.close if body.respond_to?(:close) return failure_response(exception) end