kore/examples/python-async
2021-05-02 16:25:46 +02:00
..
2018-11-22 15:23:44 +01:00
2021-05-02 16:25:46 +02:00
2021-05-02 16:25:46 +02:00

Kore python async/await examples.

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

Requires that Kore is built with PYTHON=1 CURL=1

Run:

	$ kore app.py

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