拦截来自 Dart 程序的 https 请求

Intercepting https request from a Dart program

我想调试一个 Dart 程序,该程序使用 http library of Dart. So i want to intercept all the input and output https GET/POST. For that I use a man in the middle proxy 向 API 发出 https 请求。代理有效,我可以在我的笔记本电脑中看到各种应用程序的所有 http 和 https 流量。但是我看不到我的飞镖程序之一。

您可以使用 flutter DevTools,它有一个网络选项卡,可以显示您所有的应用程序网络 activity。