uncapturedClient static method

HttpClient uncapturedClient()

A client Dürbün does not capture, for the in-app panel's own requests (Send to Slack: the webhook URL must not land in the request list). The app's own overrides (proxy, certificates) still apply.

Implementation

static HttpClient uncapturedClient() {
  final global = currentGlobal;
  final delegate = global is DurbunHttpOverrides ? global.previous : global;
  return HttpOverrides.runWithHttpOverrides(HttpClient.new, _UncapturedHttpOverrides(delegate));
}