kore/examples/async-curl/src
Joris Vink e8e01980fc Python: allow route hooks via kore.route().
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.
2021-12-14 23:15:21 +01:00
..
ftp.c Python: allow route hooks via kore.route(). 2021-12-14 23:15:21 +01:00
http.c Python: allow route hooks via kore.route(). 2021-12-14 23:15:21 +01:00
init.c Move Kore hook functions to kore/hooks.h. 2021-01-11 23:58:26 +01:00