PackageTrack
Sign in Get early access

rhttp

Make HTTP requests using Rust for Flutter developers. It uses FFI to call Rust functions from Dart. On the Rust side, it uses reqwest to make HTTP requests.

0.18.0 5.1K downloads/mo #3811 most downloaded on pub.dev source

What this package is like to depend on

Last release 2 months ago

06 Jun 2026

Ships fairly regularly

a new release about every 2 months

Nearly every release is documented

notes for 42 of 42 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

42 releases · first in 2024

6 releases in the last 12 months

see the full history below

Release timeline

42 releases · Aug 2024 to Jun 2026
2025 2026
Release Pre-release

Releases

latest 42
  1. 0.18.0 06 Jun 2026
    Release notes
    • feat: restore previous behavior of trusting root certificates from webpki-roots broken by 0.17.0
    • deps: bump Rust dependencies to latest versions
    • BREAKING: trustRootCertificates changed to rootCertSource
    Open source →
  2. 0.17.0 19 May 2026
    Release notes
    • deps: bump reqwest to 0.13.3 (Might be breaking! See README for Android setup, no longer needed in 0.18.0) #105
    Open source →
  3. 0.16.0 31 Mar 2026
    Release notes
    • deps: bump flutter_rust_bridge to 2.12.0
    • deps: bump Rust dependencies to latest versions
    Open source →
  4. 0.15.1 31 Jan 2026
    Release notes
    • chore: migrate from GitHub to Codeberg: https://codeberg.org/Tienisto/rhttp
    Open source →
  5. 0.15.0 10 Dec 2025
    Release notes
    • fix: RhttpCompatibleClient should combine header values with the same key using comma as per http spec (#95)
    • fix: crash on non-UTF8 headers (#92)
    • deps: bump freezed to ^3.0.0
    • deps: bump Rust dependencies to latest versions
    Open source →
  6. 0.14.0 03 Oct 2025
    Release notes
    • feat: RhttpCompatibleClient supports Abortable added in http v1.5.0
    • feat: support Android 16 KB memory page alignment requirement @sabin26 (#89)
    • feat: add queryRaw parameter @nrbnlulu (#86)
    • deps: bump Rust dependencies to latest versions
    Open source →
  7. 0.13.0 11 Jul 2025
    Release notes
    • feat: add HttpResponse.remoteIp to get the remote IP address of the server
    • feat: set forceSameCodegenVersion: false to disable check by flutter_rust_bridge
    • deps: bump flutter_rust_bridge to 2.11.1
    • deps: bump Rust dependencies to latest versions
    • docs: update Android example @FrankenApps (#78)
    Open source →
  8. 0.12.0 26 May 2025
    Release notes
    • fix: Flutter 3.32 compatibility @MSOB7YY (#74)
    • deps: bump flutter_rust_bridge to 2.10.0
    Open source →
  9. 0.11.1 05 Apr 2025
    Release notes
    • feat: add basic Cookie handling @FrankenApps (#67)
    • feat: automatically install the pinned Rust version @linsui (#68)
    • deps: loosen freezed_annotation constraint to >=2.4.4 <4.0.0
    Open source →
  10. 0.11.0 13 Mar 2025
    Release notes
    • feat: HttpMethod accepts any string as method name @wgh136 (#57)
    • feat: add ClientSettings.userAgent @FrankenApps (#63)
    • fix: race condition leading to ConcurrentModificationError when using the same CancelToken for multiple requests
    • docs: add internet permission to example app
    • deps: bump flutter_rust_bridge to 2.9.0
    Open source →
  11. 0.10.0 16 Feb 2025
    Release notes
    • feat: use rustls-tls-webpki-roots to avoid errors with corrupted system setting
    • feat: simplify BaseHttpRequest and HttpRequest constructor @FrankenApps (#52)
    • fix: requestStream never return if cancelled immediately using CancelToken @xalanq (#54)
    • deps: bump flutter_rust_bridge to 2.7.1
    Open source →
  12. 0.9.8 14 Dec 2024
    Release notes
    • deps: bump freezed_annotation constraint to ^2.4.4
    Open source →
  13. 0.9.7 14 Dec 2024
    Release notes
    • feat: add TlsSettings.sni to configure Server Name Indication for TLS (default: true) (#43)
    • deps: bump flutter_rust_bridge to 2.7.0
    Open source →
  14. 0.9.6 05 Dec 2024
    Release notes
    • fix: missing response body in DevTools when using Stream response
    • fix: Stream not finishing when using onReceiveProgress
    Open source →
  15. 0.9.5 05 Dec 2024
    Release notes
    • feat: DevTools integration (Network Tab)
    • feat: HttpBody.json now accepts Object? instead of Map<String, dynamic> to align with JSON spec
    Open source →
  16. 0.9.4 30 Nov 2024
    Release notes
    • feat: allow specifying ports in DnsSettings
    • fix: timeout exception when using DnsSettings (#39)
    • fix: do not emit final (-1, -1) progress event when content length is unknown
    Open source →
  17. 0.9.3 24 Nov 2024
    Release notes
    • feat: onSendProgress should infer total also from Content-Length header
    • feat: optimize compiled binary size @xalanq #40
    • fix: Unhandled Exception when HttpBody.stream or HttpBody.bytes with onSendProgress is canceled
    Open source →
  18. 0.9.2 21 Nov 2024
    Release notes
    • feat: add --remap-path-prefix=$HOME/.cargo/=/.cargo/ to RUSTFLAGS to be more reproducible
    • feat: respect channel in rust-toolchain.toml
    • fix: support text body compressed in gzip and brotli
    • fix: requestStream should throw RhttpCancelException instead of emitting an Unhandled Exception when request is canceled
    • deps: bump flutter_rust_bridge to 2.6.0
    Open source →
  19. 0.9.1 04 Nov 2024
    Release notes
    • feat: allow reuse of same CancelToken for multiple requests, all requests are canceled when token is canceled
    Open source →
  20. 0.9.0 02 Nov 2024
    Release notes
    • feat: add ProxySettings.proxy('http://localhost:8080') and other proxy settings
    • feat: improve performance when uploading a byte stream
    • feat: improve performance when tracking progress during download of a large binary file
    • feat: onSendProgress and onReceiveProgress now always emit the final progress event (100%)
    • fix: set idleTimeout in IoCompatibleClient no longer throws an exception
    Open source →
  21. 0.8.2 31 Oct 2024
    Release notes
    • fix: possible CloseStreamException when using IoCompatibleClient
    • deps: bump flutter_rust_bridge to 2.5.1
    Open source →
  22. 0.8.1 21 Oct 2024
    Release notes
    • deps: bump flutter_rust_bridge to 2.5.0
    Open source →
  23. 0.8.0 27 Sep 2024
    Release notes
    • feat: add IoCompatibleClient, a compatibility layer for dart:io's HttpClient
    • feat: add dnsSettings to ClientSettings to provide custom DNS resolution
    • BREAKING: timeout and connectTimeout moved to TimeoutSettings (deprecated in 0.7.2)
    Open source →
  24. 0.7.2 17 Sep 2024
    Release notes
    • feat: add keepAliveTimeout, keepAlivePing to new TimeoutSettings (@nicobritos)
    • DEPRECATED: timeout and connectTimeout moved to TimeoutSettings
    Open source →
  25. 0.7.1 15 Sep 2024
    Release notes
    • fix: export RhttpInvalidCertificateException, RhttpConnectionException
    • deps: remove plugin_platform_interface dependency
    • deps: bump flutter_rust_bridge to 2.4.0
    Open source →
  26. 0.7.0 28 Aug 2024
    Release notes
    • fix: creating a second client might overwrite the first client due to memory address conflict
    • BREAKING: change RhttpInvalidClientException to RhttpClientDisposedException
    Open source →
  27. 0.6.2 28 Aug 2024
    Release notes
    • feat: add baseUrl setting to ClientSettings
    • feat: add redirectSettings to ClientSettings
    • feat: add RhttpRedirectException
    • feat: RhttpCompatibleClient.close cancels all running requests similar to IOClient of http package
    Open source →
  28. 0.6.1 23 Aug 2024
    Release notes
    • feat: add onSendProgress and onReceiveProgress
    • feat: increase performance of HttpBody.stream
    • feat: always compile Rust in release mode
    Open source →
  29. 0.6.0 21 Aug 2024
    Release notes
    • feat: add HttpBody.stream to send a stream as request body
    • feat: RhttpCompatibleClient sets throwOnStatusCode to false to conform with http package
    Open source →
  30. 0.5.4 20 Aug 2024
    Release notes
    • feat: wrap any exception in RhttpCompatibleClient into RhttpWrappedClientException
    Open source →
  31. 0.5.3 20 Aug 2024
    Release notes
    • feat: add RhttpConnectionException to catch connection errors like no internet, server not reachable, etc.
    • feat: add RhttpCompatibleClient.createSync
    • feat: add cancelRunningRequests parameter to RhttpClient.dispose
    • fix: creating a client with HTTP/3 fails with no async runtime found
    Open source →
  32. 0.5.2 18 Aug 2024
    Release notes
    • fix: RetryInterceptor should throw RhttpCancelException if request is canceled during retry
    Open source →
  33. 0.5.1 17 Aug 2024
    Release notes
    • feat: add RhttpClient.createSync
    • feat: add HttpHeaders.copyWith, HttpHeaders.copyWithout
    • feat: add convenience method: HttpTextResponse.bodyToJson
    • fix: reset parameters in RetryInterceptor.shouldRetry before retrying
    Open source →
  34. 0.5.0 16 Aug 2024
    Release notes
    • feat: interceptors (e.g. RetryInterceptor)
    • feat: certificate pinning
    • feat: client certificate / mutual TLS
    • feat: add ProxySettings
    • BREAKING: requestGeneric renamed to request, request removed
    Open source →
  35. 0.4.0 13 Aug 2024
    Release notes
    • feat: add RhttpCompatibleClient that is compatible with the http package
    Open source →
  36. 0.3.2 12 Aug 2024
    Release notes
    • docs: update README
    Open source →
  37. 0.3.1 12 Aug 2024
    Release notes
    • docs: add benchmark
    Open source →
  38. 0.3.0 07 Aug 2024
    Release notes
    • feat: add HttpBody.multipart
    • feat: change TlsSettings.verifyCerts to TlsSettings.verifyCertificates
    Open source →
  39. 0.2.0 06 Aug 2024
    Release notes
    • feat: add RhttpStatusCodeException, RhttpInvalidCertificateException
    • feat: add TlsSettings
    Open source →
  40. 0.1.0 06 Aug 2024
    Release notes
    • feat: request body types
    • feat: client for connection pooling / reuse
    • feat: cancel requests
    • feat: improve error handling with RhttpException
    Open source →
  41. 0.0.2 02 Aug 2024
    Release notes
    • feat: query, headers, body
    Open source →
  42. 0.0.1 01 Aug 2024
    Release notes
    • initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive