http_interop_io 0.10.0
http_interop_io: ^0.10.0 copied to clipboard
Interop-compatible adapters for the standard dart:io HTTP client and server.
0.10.0 - 2026-10-23 #
Added #
- Add an optional synchronous or asynchronous responseConverter to customize native client response conversion.
- Expose HttpClientResponse.toInterop() for converting native responses without consuming their bodies.
Changed #
- Rename HttpClient.handleInterop() to sendInterop() and ServerExt to HttpServerExt; make listenInterop.cancelOnError non-nullable with a default of false.
- Require Dart ^3.13.0 and upgrade http_interop to ^3.0.0.
- Document client and server usage, body ownership, decompression behavior, shared header value lists, and converter cleanup responsibilities.
Fixed #
- Release client connections after request setup or sending failures and cancel unread response bodies after conversion failures while preserving the original errors.