mirror of https://git.kore.io/kore.git
e8e01980fc
Adding the hooks keyword with a dictionary attached to specify the relevant hooks will hook them for the given route. Eg: domain.route("/", self.index, methods=["get"], hooks={ "on_free": self.request_free } ) These are the same hooks available via a normal Kore route configuration. |
||
---|---|---|
.. | ||
acme.h | ||
curl.h | ||
hooks.h | ||
http.h | ||
jsonrpc.h | ||
kore.h | ||
pgsql.h | ||
python_api.h | ||
python_methods.h | ||
seccomp.h | ||
tasks.h |