| 1 | Kore python async/await examples. |
| 2 | |
| 3 | This example also shows off the asynchronous HTTP client support |
| 4 | and requires libcurl on your machine. |
| 5 | |
| 6 | Requires that Kore is built with PYTHON=1 CURL=1 |
| 7 | |
| 8 | Run: |
| 9 | ``` |
| 10 | $ kore app.py |
| 11 | ``` |
| 12 | |
| 13 | Test: |
| 14 | ``` |
| 15 | $ curl -k http://127.0.0.1:8888/queue |
| 16 | $ curl -k http://127.0.0.1:8888/lock |
| 17 | $ curl -k http://127.0.0.1:8888/proc |
| 18 | $ curl -k http://127.0.0.1:8888/socket |
| 19 | $ curl -k http://127.0.0.1:8888/httpclient |
| 20 | ``` |