interface documentation
class IRequestLifecycle(Interface): (source)
Known implementations: klein._requirer.RequestLifecycle
Interface for adding hooks to the phases of a request's lifecycle.
Method | add |
Add a hook that promises to prepare the request by supplying the given interfaces as components on the request, and requires the given requirements. |
Add a hook that promises to prepare the request by supplying the given interfaces as components on the request, and requires the given requirements.
Prepare hooks are run before any IDependencyInjector
s inject their values.
Parameters | |
beforeCallable | Undocumented |
requires:Sequence[ | Undocumented |
provides:Sequence[ | Undocumented |