搜索插件、代码仓与 APP 分类

插件详情v0.1.0

http_profile

一个由 HTTP 客户端作者用于与 DevTools 网络视图集成的库。

AndroidiOSmacOSWindowsLinux
近 30 天下载
28.1万
喜欢数
5
Pub 分数
140

安装插件

flutter pub add http_profile

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

http_profile 包是一个 Dart 库,专为 HTTP 客户端作者设计,用于将其客户端与 DevTools 网络视图集成。它能够在 Flutter DevTools 中实现详细的网络请求跟踪和可视化,提供关于请求时间、请求头和响应数据的洞察。这种集成有助于开发者通过跨平台统一查看 HTTP 活动来调试和优化网络性能。该包是更广泛的 Dart HTTP 生态系统的一部分,支持所有主要平台,包括 Android、iOS、macOS、Windows 和 Linux。

适合场景

  • 调试 HTTP 请求性能
  • 在 DevTools 中可视化网络活动
  • 将自定义 HTTP 客户端与 DevTools 集成
  • 监控请求/响应时间
  • 增强网络操作的开发者工具

主要特点

  • 无缝 DevTools 网络视图集成
  • 支持跨平台 HTTP 性能分析
  • 提供请求元数据收集
  • 专为 HTTP 客户端作者设计
  • 轻量且专注于性能分析

适合对象

  • HTTP 客户端库维护者
  • 使用 DevTools 的 Flutter 开发人员
  • 性能调试团队
  • 网络密集型应用开发者
  • 工具贡献者

使用建议

  • 需要 DevTools 才能实现完整功能
  • 不适用于最终用户应用程序
  • 仅限分析使用场景
  • 依赖于 Dart SDK 兼容性
  • 仅限开发期间使用

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

所属分类

源码仓库

使用此插件的项目

暂无相关数据。