FLUTTER ECOSYSTEM

http2

A HTTP/2 implementation in Dart.

Latest version
3.1.0
30-day downloads
702K
Likes
96
Pub points
150

Package Overview

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

Overview

A Dart implementation of the HTTP/2 protocol, enabling high-performance, multiplexed communication between clients and servers. Built for use in Flutter and other Dart applications, it supports modern web standards with efficient request handling and reduced latency. The package is part of the official Dart HTTP ecosystem and integrates seamlessly with existing HTTP workflows. It is designed for developers who need faster network interactions through HTTP/2's advanced features like stream multiplexing and header compression.

Use cases
  • High-performance API clients
  • Real-time data streaming
  • Efficient mobile and desktop networking
  • Reducing latency in web services
  • Multi-streamed HTTP communication
Key features
  • Supports HTTP/2 multiplexing
  • Built-in header compression
  • Secure connections via TLS
  • Integration with Dart's HttpClient
  • Lightweight and modular design
Suitable for
  • Developers building fast network apps
  • Apps requiring concurrent requests
  • Projects using modern HTTP protocols
  • Flutter apps needing optimized networking
  • Backend services with high throughput
Considerations
  • Requires TLS for full HTTP/2 support
  • Limited to Dart environments
  • Not suitable for HTTP/1.1 only use cases
  • Depends on underlying platform networking stack
  • May require additional configuration for custom servers
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add http2

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects