Class Rack::Cascade
In: lib/rack/cascade.rb
Parent: Object

Rack::Cascade tries an request on several apps, and returns the first response that is not 404 (or in a list of configurable status codes).

Methods

<<   add   call   include?   new  

Constants

NotFound = [404, {}, []]

Attributes

apps  [R] 

Public Class methods

Public Instance methods

<<(app)

Alias for add

[Validate]