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

套件詳情v3.1.1

cupertino_http

一個適用於 macOS/iOS 的 Flutter 插件,可存取 Foundation URL 載入系統。

iOSmacOS
近 30 天下載
26.9萬
喜歡數
80
Pub 分數
160

安裝套件

flutter pub add cupertino_http

套件介紹

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

一個適用於 iOS 和 macOS 的 Flutter 外掛程式,利用原生 Foundation URL 加載系統來處理 HTTP 請求。它提供了一個可靠且平台特定的網路通訊實作,確保與系統級網路功能(如憑證固定、代理設定和安全連接處理)相容。當開發者需要整合原生 iOS/macOS 網路行為或需要標準 Dart HTTP 客戶端無法提供的進階安全性設定時,此套件特別實用。

適用情境

  • 原生 iOS/macOS 網路整合
  • 透過憑證固定實現安全的HTTP連接
  • 代理和身份驗證設定
  • 進階 TLS/SSL 設定
  • 系統級網路行為匹配

主要特色

  • 使用 Foundation URL 加載系統
  • 支援憑證固定
  • 與系統代理設定整合
  • 提供安全的連接處理
  • 匹配原生平台網路行為

適合對象

  • iOS 和 macOS 應用開發者
  • 需要安全網絡通訊的應用程式
  • 需要原生網路功能的項目
  • 使用平台特定 HTTP 功能的開發人員
  • 具有嚴格安全要求的應用程式

使用建議

  • 僅限 iOS 和 macOS 平台
  • 需要理解原生網路概念
  • 不適用於跨平台HTTP需求
  • 可能比第三方HTTP庫功能更少
  • 依賴於平台特定的系統API

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

所屬分類

依賴

依賴清單 10 項

原始碼儲存庫

使用此套件的專案