Search packages, repositories and app categories

Package detailsv1.10.1

cronet_http

An Android Flutter plugin that provides access to the Cronet HTTP client.

Android
30-day downloads
223K
Likes
82
Pub points
160

Install package

flutter pub add cronet_http

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The cronet_http package is an Android-specific Flutter plugin that integrates Google's Cronet HTTP client, offering high-performance networking with advanced features like HTTP/2, QUIC, and connection pooling. It is designed to improve network efficiency and reliability on Android devices by leveraging Cronet’s optimized transport layer. This package is particularly useful for applications requiring fast, low-latency HTTP communication. It works exclusively on Android and is maintained by the Dart team.

Use cases

  • High-performance HTTP requests on Android
  • Applications needing HTTP/2 and QUIC support
  • Network-intensive apps requiring efficient connection management
  • Offline-first apps with robust retry mechanisms
  • Apps targeting modern Android devices with optimized networking

Key features

  • Uses Google's Cronet HTTP client
  • Supports HTTP/2 and QUIC protocols
  • Built-in connection pooling
  • Improved performance and reliability
  • Android-only platform support

Suitable for

  • Android-focused Flutter apps
  • Performance-critical networking
  • Apps using modern HTTP standards
  • Developers seeking low-level control over HTTP transport
  • Projects where network efficiency is a priority

Considerations

  • Limited to Android platform
  • Requires Android SDK 21+
  • No iOS or web support
  • Depends on native Cronet library
  • May increase app size due to native dependencies

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Build Status

A composable, Future-based library for making HTTP requests.

package:http contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.

Packages

Package Description Version
cronet_http An Android Flutter plugin that provides access to the Cronet HTTP client. pub package
cupertino_http A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. pub package
flutter_http_example An Flutter app that demonstrates how to configure and use package:http. —
http A composable, multi-platform, Future-based API for HTTP requests. pub package
http2 A HTTP/2 implementation in Dart. pub package
http_client_conformance_tests A library that tests whether implementations of package:http's Client class behave as expected.
http_multi_server A dart:io HttpServer wrapper that handles requests from multiple servers. pub package
http_parser A platform-independent package for parsing and serializing HTTP formats. pub package
http_profile A library used by HTTP client authors to integrate with the DevTools Network View. pub package
ok_http An Android Flutter plugin that provides access to the OkHttp HTTP client and the OkHttp WebSocket API. pub package
web_socket Any easy-to-use library for communicating with WebSockets that has multiple implementations. pub package
web_socket_channel StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API. package issues
web_socket_conformance_tests A library that tests whether implementations of package:web_socket's WebSocket class behave as expected.

Contributing

If you'd like to contribute to any of these packages, see the Contributing Guide.

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package