パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v3.1.0

http2

Dart における HTTP/2 の実装。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
85.8万
いいね数
96
Pub ポイント
150

パッケージをインストール

flutter pub add http2

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

HTTP/2プロトコルのDart実装で、クライアントとサーバー間での高パフォーマンスかつマルチプレックス通信を可能にします。Flutterや他のDartアプリケーション向けに構築されており、現代的なWeb標準をサポートし、効率的なリクエスト処理と低遅延を実現しています。このパッケージは公式Dart HTTPエコシステムの一部であり、既存のHTTPワークフローとシームレスに統合されます。ストリームのマルチプレキシングやヘッダー圧縮といったHTTP/2の高度な機能を通じて、より高速なネットワークインタラクションが必要な開発者向けに設計されています。

用途

  • 高パフォーマンスなAPIクライアント
  • リアルタイムデータストリーミング
  • 効率的なモバイルおよびデスクトップネットワーキング
  • Webサービスにおけるレイテンシの低減
  • マルチストリームHTTP通信

主な機能

  • HTTP/2のマルチプレクシングをサポート
  • 組み込みヘッダー圧縮
  • TLSを介したセキュアな接続
  • Dart の HttpClient との統合
  • 軽量でモジュール式のデザイン

適している対象

  • 高速ネットワークアプリを開発する開発者
  • 同時リクエストを必要とするアプリ
  • 現代のHTTPプロトコルを使用するプロジェクト
  • 最適化されたネットワークが必要なFlutterアプリ
  • 高スループットのバックエンドサービス

注意事項

  • 完全な HTTP/2 対応には TLS が必要です
  • Dart環境に限定
  • HTTP/1.1 のみの使用ケースには適していません
  • 下位プラットフォームのネットワーキングスタックに依存する
  • カスタムサーバー用に追加の構成が必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

依存関係

依存関係一覧 4 件

ソースリポジトリ

このパッケージを使用しているプロジェクト