File: README.md

package info (click to toggle)
kore 4.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: ansic: 29,227; makefile: 344; sh: 278; python: 149; cpp: 34
file content (20 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
```