Skip to content

v1.1.0: Curl!

Latest

Choose a tag to compare

@suchipi suchipi released this 16 Nov 03:32
· 2 commits to main since this release
  • This release adds a curl function, which uses libcurl and behaves similarly to fetch (which is not in YavaScript). You can specify method, headers, request body, etc.
    • curl is synchronous (like most of the APIs in YavaScript). If you want to make requests asynchronously, call curl from a Worker thread. runInWorker makes this easy to do without needing to define a dedicated worker module.
  • This release also fixes a bug which prevented use of using declarations in Civet code.

Full Changelog: v1.0.0...v1.1.0