| Class | Middleware::Runner |
| In: |
lib/middleware/runner.rb
|
| Parent: | Object |
This is a basic runner for middleware stacks. This runner does the default expected behavior of running the middleware stacks in order, then reversing the order.
| EMPTY_MIDDLEWARE | = | lambda { |env| } | A middleware which does nothing |
Run the middleware stack with the given state bag.
@param [Object] env The state to pass into as the initial
environment data. This is usual a hash of some sort.