win_http
A Windows HTTP client for package:http using the native WinHTTP API. Provides system proxy support, Schannel TLS, and automatic decompression. Requires Windows 8.1+.
0.2.2
6.9K downloads/mo
#3432 most downloaded on pub.dev
edde746/win_http
What this package is like to depend on
Last release 1 months ago
04 Jul 2026
Ships on a steady schedule
a new release about every 6 weeks
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
4 months old
4 releases · first in 2026
4 releases in the last 12 months
see the full history below
Release timeline
4 releases · Apr 2026 to Jul 2026Releases
latest 4-
0.2.204 Jul 2026Release notes
Open source →- Enabled
WINHTTP_OPTION_IPV6_FAST_FALLBACK(Happy Eyeballs) on the session so dual-stack hosts with an unreachable IPv6 route fall back to IPv4 within milliseconds instead of stalling until the IPv6 connect times out (Windows 10 2004+, silent fallback on older versions).
- Enabled
-
0.2.125 May 2026Release notes
Open source →- Fixed async request error reporting so WinHTTP-owned callback pointers are
not read after
NativeCallable.listenerdispatch. - Request failures now report safe inferred DNS, connection, response, and TLS messages instead of bogus native error codes from stale callback memory.
- Fixed async request error reporting so WinHTTP-owned callback pointers are
not read after
-
0.2.008 Apr 2026Release notes
Open source →- Breaking: Migrated from sync WinHTTP + isolates to async WinHTTP callbacks. No public API changes, but internal architecture is completely different.
- Abort support via
WinHttpCloseHandle(native cancellation). - HTTP/2 enabled by default (Windows 10+, silent fallback).
- Added
maxConnectionsPerServertoWinHttpClientConfiguration. - Eliminated per-request isolate spawning overhead.
- 64KB read buffer for better throughput.
-
0.1.007 Apr 2026Release notes
Open source →- Initial release.
WinHttpClientimplementingpackage:httpBaseClientvia WinHTTP FFI.- Automatic proxy detection (
WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY). - Configurable timeouts, user agent, and proxy settings.
- Automatic gzip/deflate decompression (Windows 8.1+).
- Response body streaming via isolate workers.
- Passes
http_client_conformance_testssuite (172/172 non-skipped tests).