class Jets::RackController
def mega_request
def mega_request Jets::Mega::Request.new(event, self).proxy end
def process
def process resp = mega_request render(resp) end
def process!
process logic directly. This handles the case for AWS Lambda.
Override process! so it doesnt go through middleware adapter and hits
def process! status, headers, body = dispatch! # Use the adapter only to convert the Rack triplet to a API Gateway hash structure adapter = Jets::Controller::Rack::Adapter.new(event, context, meth) adapter.convert_to_api_gateway(status, headers, body) end