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

パッケージ詳細v1.8.0

native_dio_adapter

HTTPリクエストをネイティブプラットフォームに委任するための、cupertino_httpおよびcronet_httpを使用するdio用クライアントです。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
13.6万
いいね数
68
Pub ポイント
160

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

flutter pub add native_dio_adapter

パッケージ概要

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

Dio プラグインで、cupertino_http および cronet_http を使用して HTTP 要求をネイティブプラットフォーム実装に委任し、Android、iOS、macOS、Windows、Linux でのパフォーマンスと信頼性を向上させます。システムレベルのネットワーキングスタックを活用することで、効率性が向上し、プラットフォーム固有の機能との互換性も確保されます。複数のプラットフォーム間で最適化されたネットワーク動作が必要なアプリに最適です。

用途

  • 高パフォーマンスHTTPリクエスト
  • クロスプラットフォームネットワーク最適化
  • ネイティブHTTPスタック機能の活用
  • モバイルおよびデスクトップでのリクエスト処理の改善
  • 既存のDioベースのアプリケーションとの統合

主な機能

  • ネイティブHTTP実装を使用
  • Android、iOS、macOS、Windows、Linux をサポートしています
  • プラットフォームネイティブなネットワーキングによるパフォーマンス向上
  • Dioとのシームレスな統合
  • 自動フォールバックおよびプラットフォーム固有のルーティング

適している対象

  • 最適なネットワークパフォーマンスを必要とするアプリ
  • HTTP操作にDioを使用する開発者
  • 複数のプラットフォームをターゲットにするプロジェクト
  • ネイティブなネットワーキング機能を重視するチーム
  • 信頼性と高速なHTTP通信を必要とするアプリケーション

注意事項

  • 完全な機能を実現するには、プラットフォーム固有の設定が必要です
  • ネイティブ依存関係のため、アプリサイズが増加する可能性があります
  • 純粋なDioと比べてカスタマイズの選択肢が限られている
  • 外部ネイティブライブラリ(cupertino_http、cronet_http)に依存しています
  • ネイティブなHTTPサポートがない環境には適していません

元の 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.

カテゴリー

依存関係

依存関係一覧 5 件

ソースリポジトリ

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