win_http 0.2.0
win_http: ^0.2.0 copied to clipboard
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.0 #
- 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.0 #
- 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).