http_client 0.2.1 http_client: ^0.2.1 copied to clipboard
A platform-independent HTTP client API. Implemented platforms: `console` and `browser` (both delegating to the `http` package), also support `curl`. Planned platforms: Fetch API, Node.js (with `node_i [...]
Changelog #
0.2.1 #
- Add curl support.
0.2.0 #
Breaking changes:
-
instead of exporting the
http
package,http_client
provides its own API- console and browser clients continue to use the
http
package - preparation to support node_io
for apps that want to be packaged as a single binary (e.g.
.exe
) - preparation to support the Fetch API (e.g. in service workers)
- console and browser clients continue to use the
-
removed the awkward
newHttpClient()
methods.