kore/examples/messaging
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
..
conf Change how routes are configured in Kore. 2021-09-15 11:09:52 +02:00
src Add acmev2 (RFC8555) support to Kore. 2019-11-06 19:43:48 +01:00
.gitignore Add our messaging framework. 2015-06-22 21:13:32 +02:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01:00

README.md

Kore message framework example

Run:

	# kodev run

Test:

	Perform a simple GET request against the root page.
	This should trigger the example app to send a message
	to the other workers which will display it.

	# curl -k https://127.0.0.1:8888