mirror of
https://github.com/jorisvink/kore
synced 2025-03-12 13:59:01 -04:00
21 lines
431 B
Markdown
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
|
|
```
|