kore/include/kore
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
..
acme.h Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
curl.h bump copyright year. 2021-01-11 23:46:08 +01:00
hooks.h Move Kore hook functions to kore/hooks.h. 2021-01-11 23:58:26 +01:00
http.h Python: allow route hooks via kore.route(). 2021-12-14 23:15:21 +01:00
jsonrpc.h Move header files to include/kore. 2018-03-30 13:45:29 +02:00
kore.h Python: allow route hooks via kore.route(). 2021-12-14 23:15:21 +01:00
pgsql.h bump copyright year. 2021-01-11 23:46:08 +01:00
python_api.h Major Python API improvements. 2021-05-02 00:32:47 +02:00
python_methods.h Python: Add req.body_digest. 2021-12-13 10:45:00 +01:00
seccomp.h KORE_SECCOMP_FILTER() does not require a semicolumn. 2021-03-23 15:03:47 +01:00
tasks.h Changes to the event loop inside of Kore. 2018-10-09 19:34:40 +02:00