2021-05-02 16:25:46 +02:00

21 lines
431 B
Markdown

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
```