kore/examples
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
..
async-curl Python: allow route hooks via kore.route(). 2021-12-14 23:15:21 +01:00
cookies Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
cpp Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
generic Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
headers Replace static/dynamic with a single option: route 2019-11-15 08:11:02 +01:00
integers Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
json Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
jsonrpc Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
memtag Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
messaging Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
nohttp Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
parameters Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
pgsql Python: allow route hooks via kore.route(). 2021-12-14 23:15:21 +01:00
pgsql-sync Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
pipe_task Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
python-async simplify the python-async example 2021-05-02 16:25:46 +02:00
python-echo and add the echo.py file of course.. 2021-05-02 16:08:32 +02:00
python-pgsql Fix a couple of typos in various places. 2020-09-08 13:01:18 +02:00
sse Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
tasks Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
tls-proxy Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
upload Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
video_stream Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
websocket Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
Makefile add async-curl example to the makefile 2019-04-30 20:38:12 +02:00