Method: Rack::App::Endpoint::Catcher#call
- Defined in:
- lib/rack/app/endpoint/catcher.rb
#call(env) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rack/app/endpoint/catcher.rb', line 8 def call(env) resp = handle_rack_response do handle_response_body(env) do @app.call(env) end end return resp.finish if resp.is_a?(Rack::Response) resp end |