1
0
mirror of https://git.kore.io/kore.git synced 2024-11-10 20:29:11 +01:00
kore/examples/python-async
2019-09-27 20:00:35 +02:00
..
conf Allow multiple binds on new server directive. 2019-09-27 20:00:35 +02:00
src close the wrapped socket instead of the os one. 2019-09-25 15:47:14 +02:00
.gitignore Add python-async example. 2018-11-22 15:23:44 +01:00
README.md Add asynchronous libcurl support. 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