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. |
||
---|---|---|
.. | ||
ftp.c | ||
http.c | ||
init.c |