Provide callbacks to be executed before and after the request dispatch.

Methods
A
B
C
N
Included Modules
Class Public methods
after(*args, &block)
    # File actionpack/lib/action_dispatch/middleware/callbacks.rb, line 18
18:     def self.after(*args, &block)
19:       set_callback(:call, :after, *args, &block)
20:     end
before(*args, &block)
    # File actionpack/lib/action_dispatch/middleware/callbacks.rb, line 14
14:     def self.before(*args, &block)
15:       set_callback(:call, :before, *args, &block)
16:     end
new(app)
    # File actionpack/lib/action_dispatch/middleware/callbacks.rb, line 22
22:     def initialize(app)
23:       @app = app
24:     end
Instance Public methods
call(env)
    # File actionpack/lib/action_dispatch/middleware/callbacks.rb, line 26
26:     def call(env)
27:       run_callbacks :call do
28:         @app.call(env)
29:       end
30:     end