搜尋套件、儲存庫與 APP 分類

套件詳情v1.10.1

cronet_http

一個為 Android 提供 Cronet HTTP 客戶端存取權限的 Flutter 外掛程式。

Android
近 30 天下載
22.3萬
喜歡數
82
Pub 分數
160

安裝套件

flutter pub add cronet_http

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

cronet_http 套件是一個針對 Android 的 Flutter 外掛程式,整合了 Google 的 Cronet HTTP 客戶端,提供高效率的網路功能,支援 HTTP/2、QUIC 與連線池等進階功能。此套件透過利用 Cronet 的優化傳輸層,旨在提升 Android 裝置上的網路效率與可靠性。對於需要快速、低延遲 HTTP 通訊的應用程式而言,此套件特別實用。它僅適用於 Android,由 Dart 團隊維護。

適用情境

  • Android 上的高性能 HTTP 請求
  • 需要 HTTP/2 和 QUIC 支援的應用程式
  • 需要高效連接管理的網路密集型應用程式
  • 具有強大重試機制的離線優先應用
  • 針對現代 Android 裝置的優化網路應用

主要特色

  • 使用 Google 的 Cronet HTTP 客戶端
  • 支援 HTTP/2 和 QUIC 協定
  • 內建連接池
  • 性能和可靠性得到提升
  • 僅限 Android 平台支援

適合對象

  • 面向 Android 的 Flutter 應用
  • 效能關鍵的網路
  • 使用現代HTTP標準的應用程式
  • 尋求對 HTTP 傳輸進行低階控制的開發人員
  • 網路效率優先的專案

使用建議

  • 僅限Android平台
  • 需要 Android SDK 21+
  • 不支援 iOS 或網頁
  • 依賴原生 Cronet 庫
  • 由於原生依賴項,應用大小可能增加

原始 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 項

原始碼儲存庫

使用此套件的專案