forked from mirrors/kore
0abc9b19ff | ||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
app.py | ||
async_http.py | ||
async_lock.py | ||
async_process.py | ||
async_queue.py | ||
async_socket.py |
README.md
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