http_client 0.4.2 http_client: ^0.4.2 copied to clipboard
A platform-independent HTTP client API supporting browser, console, and curl (for SOCKS proxy).
Changelog #
0.4.2 #
- Better
Headers
handling. - Request properties:
persistentConnection
,followRedirects
,maxRedirects
. - ConsoleClient properties:
idleTimeout
,maxConnectionsPerHost
,autoUncompress
,userAgent
. Response.remoteAddress
(in ConsoleClient).
0.4.1 #
- Enabled Dart2 Preview for analysis.
0.4.0 #
- Fix deprecated API use.
- Fix header wrapping in requests.
- Default header values in
ConsoleClient
.
0.3.1 #
- Added http proxy option to the console client.
0.3.0 #
- Removed dependency on
http
package.
0.2.2 #
- Add executor support to rate-limit the clients.
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.