gws.base.application.middleware
¶
Source code: gws.base.application.middleware
Module Contents¶
- class gws.base.application.middleware.Object¶
Bases:
gws.MiddlewareManager
Manage middleware and their dependencies.
- deps: dict[str, list[str]]¶
- names: list[str]¶
- sorted = False¶
- objects()¶
Return a list of registered middleware objects.
- register(obj, name, depends_on=None)¶
Register an object as a middleware.