class Roda::RodaPlugins::Middleware::Forwarder
def call(env)
If this returns a result, return that result directly. Otherwise,
When calling the middleware, first call the current middleware.
def call(env) res = nil call_next = catch(:next) do scope = @mid.new(env) scope.request.forward_next = true res = scope.call(&@mid.route_block) false end if call_next @app.call(env) else res end end