mirror of
https://git.kore.io/kore.git
synced 2024-11-16 06:56:33 +01:00
2d380cac3f
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()) |
||
---|---|---|
.. | ||
curl | ||
linux | ||
curl-extract-opt.sh | ||
linux-platform.sh | ||
python3-config.sh |