dio_http2_adapter 2.5.3 copy "dio_http2_adapter: ^2.5.3" to clipboard
dio_http2_adapter: ^2.5.3 copied to clipboard

An adapter that combines HTTP/2 and dio. Supports reusing connections, header compression, etc.

CHANGELOG #

Unreleased #

None.

2.5.3 #

  • Improves memory allocating when using CancelToken.

2.5.2 #

  • Remove client stream termination in Http2Adapter.

2.5.1 #

  • Wrap SocketException in DioExceptionType.connectionError instead of DioExceptionType.unknown.

2.5.0 #

  • Fix cancellation for streamed responses and downloads.
  • Fix progress for streamed responses and downloads.
  • Bump minimum Dart SDK to 3.0.0 as required by the http2 package.
  • Allows HTTP/1.0 when connecting to proxies.
  • Add the ability to use a fallback HttpClientAdapter when HTTP/2 is unavailable for the current request.

2.4.0 #

  • Support non-TLS connection requests.
  • Improve the implementation of receiveTimeout.
  • Add more header value types implicit support.

2.3.2 #

  • Implement sendTimeout and receiveTimeout for the adapter.
  • Fix redirect not working when requestStream is null.
  • Ignores Duration.zero timeouts.

2.3.1+1 #

  • Add topics to packages.

2.3.1 #

  • Fix cached initFuture not remove when throw exception.

2.3.0 #

  • Replace DioError with DioException.

2.2.0 #

  • Support proxy for the adapter.
  • Improve code formats according to linter rules.

2.1.0 #

  • For the dio's 5.0 release.
  • Add validateCertificate for ClientSetting.

2.0.0 #

  • support dio 4.0.0

2.0.0-beta2 #

  • support null-safety
  • support dio 4.x

1.0.1 - 2020.8.7 #

  • merge #760

1.0.0 - 2019.9.18 #

  • Support redirect

0.0.2 - 2019.9.17 #

  • A Dio HttpAdapter which support Http/2.0.
38
likes
140
pub points
97%
popularity

Publisher

verified publisherflutter.cn

An adapter that combines HTTP/2 and dio. Supports reusing connections, header compression, etc.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#dio #http2 #native #network

Documentation

API reference

License

MIT (license)

Dependencies

dio, http2, meta

More

Packages that depend on dio_http2_adapter