1
0
mirror of https://git.kore.io/kore.git synced 2024-11-16 15:06:37 +01:00
kore/misc
Joris Vink 2d380cac3f Expose our async libcurl support to the Python api.
Kore already exposed parts of this via the kore.httpclient() method but
this commit takes it a bit further and exposes the libcurl interface
completely (including the setopt options).

tldr:

handle = kore.curl("ftp://ftp.eu.openbsd.org/pub/OpenBSD/README")
handle.setopt(kore.CURLOPT_TIMEOUT, 5)

data = await handle.run()
print("%s" % data.decode())
2020-01-18 19:43:38 +01:00
..
curl Expose our async libcurl support to the Python api. 2020-01-18 19:43:38 +01:00
linux Change the way the linux syscall maps are made. 2019-11-06 11:57:25 +01:00
curl-extract-opt.sh Expose our async libcurl support to the Python api. 2020-01-18 19:43:38 +01:00
linux-platform.sh Change the way the linux syscall maps are made. 2019-11-06 11:57:25 +01:00
python3-config.sh Allow building with python3.8 2019-10-15 10:16:53 +02:00