kore/examples/python-async
Joris Vink f6cd16c567 Replace static/dynamic with a single option: route
Kore will automatically detect if a route is a dynamic or static one
so there is no need for the configuration options to differ anymore.
2019-11-15 08:11:02 +01:00
..
2018-11-22 15:23:44 +01:00
2019-04-24 00:15:17 +02:00

Kore python async/await examples.

This example also shows off the asynchronous HTTP client support and requires libcurl on your machine.

Run:

	$ kodev run

Test:

	$ curl -k http://127.0.0.1:8888/queue
	$ curl -k http://127.0.0.1:8888/lock
	$ curl -k http://127.0.0.1:8888/proc
	$ curl -k http://127.0.0.1:8888/socket
	$ curl -k http://127.0.0.1:8888/httpclient