about summary refs log tree commit diff stats
path: root/src/bindings/curl.nim
Commit message (Collapse)AuthorAgeFilesLines
* Show error messages, fix some fetch crashesbptato2023-06-091-0/+1
|
* Add support for canvas and multipartbptato2023-06-051-1/+1
| | | | | | | | | | | | | | | Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...)
* Add initial proxy supportbptato2023-04-301-0/+1
| | | | For now, API-only.
* Loader: use curl_multibptato2023-04-281-1/+61
| | | | | Note: for now it's only used for http requests. The doRequest API still needs an async rework.
* Binding & macro refactoringsbptato2022-10-011-21/+42
|
* Use unix domain sockets for IPCbptato2022-09-061-0/+4
|
* Implement HTTP Authbptato2022-07-301-1/+22
| | | | | Also use our own redirection implementation instead of curl follow redirects.
* Remove unmaintained networking callsbptato2022-07-241-1/+1
|
* Link to libcurlbptato2022-07-241-0/+219