Home | Trees | Indices | Help |
|
---|
|
Compose middleware based on list of rules.
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Instantiate with an app and a list of rules.
|
Apply each middleware whose predicate is true. Each predicate is passes the environ to evaluate. Given this set of rules: t = lambda x: True; f = lambda x: False [(t, a), (f, b), (t, c), (f, d), (t, e)] The app composed would be equivalent to this: a(c(e(app))) |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 15 13:54:20 2009 | http://epydoc.sourceforge.net |