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

パッケージ詳細v2.9.0

dio_http2_adapter

HTTP/2 と dio を組み合わせたアダプターです。接続の再利用、ヘッダー圧縮などをサポートしています。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
15.8万
いいね数
60
Pub ポイント
130

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

flutter pub add dio_http2_adapter

パッケージ概要

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

HTTP/2 のサポートを可能にする Dio プラグインで、接続の再利用とヘッダー圧縮によりパフォーマンスを向上させます。Dio HTTP クライアントとシームレスに統合され、複数のプラットフォームでより高速かつ効率的なネットワーク要求を提供します。高速なデータ転送と低遅延を必要とするアプリケーションに最適です。アダプターは HTTP/2 のマルチプレクシングおよびサーバープッシュ機能を活用して、全体的なネットワーク効率を高めます。

用途

  • 高パフォーマンスなAPI呼び出し
  • モバイルアプリの遅延を低減する
  • 効率的なデータストリーミング
  • マルチリクエスト最適化
  • リアルタイムデータ同期

主な機能

  • HTTP/2プロトコルのサポート
  • 接続の再利用
  • ヘッダー圧縮
  • マルチプレクス要求
  • サーバープッシュ互換性

適している対象

  • 高速なネットワーク応答を必要とするアプリ
  • HTTP操作にDioを使用する開発者
  • 現代のWebプロトコルをターゲットにするプロジェクト
  • Android、iOS、macOS、Windows、Linux でのクロスプラットフォームアプリケーション

注意事項

  • サーバーサイドのHTTP/2対応が必要です
  • ブラウザの互換性が限定的です
  • 特定の環境では追加の構成が必要になる場合があります
  • HTTP/2 を搭載していないレガシーシステムには適していません

元の README

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

dio

Language: English | 简体中文

This is the base repo of the dio project. Please move to specific paths for project instructions.

Don't forget to add #dio topic to your published dio-related packages! See more: https://dart.dev/tools/pub/pubspec#topics

Versioning

Before you upgrade: Breaking changes might happen in major and minor versions of packages.
See the Migration Guide for the complete breaking changes list.

To know about our compatibility policy, see the Compatibility Policy doc.

All Packages

dio
Plugins
  • cookie_manager: link Pub
  • compatibility_layer: link Pub
  • http2_adapter: link Pub
  • native_dio_adapter: link Pub
  • web_adapter: link Pub
Examples
  • example: link
  • example_flutter_app: link

Copyright & License

The project and its underlying projects are originally authored by @wendux with the organization @flutterchina, started being maintained by Chinese Flutter User Group (@cfug) since 2023.

The project consents the MIT license.

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

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