kore/examples
Joris Vink e98a4ddab5 Change how routes are configured in Kore.
Routes are now configured in a context per route:

route /path {
	handler handler_name
	methods get post head
	validate qs:get id v_id
}

All route related configurations are per-route, allowing multiple
routes for the same path (for different methods).

The param context is removed and merged into the route context now
so that you use the validate keyword to specify what needs validating.
2021-09-15 11:09:52 +02:00
..
async-curl Change how routes are configured in Kore. 2021-09-15 11:09:52 +02: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 Change how routes are configured in Kore. 2021-09-15 11:09:52 +02: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