findProxyFromEnvironment method - HttpOverrides class - dart:io library (original) (raw)

description

String findProxyFromEnvironment(

  1. Uri url,
  2. Map<String, String>? environment )

Resolves the proxy server to be used for HTTP connections.

When this override is installed, this function overrides the behavior ofHttpClient.findProxyFromEnvironment.

Implementation

String findProxyFromEnvironment(Uri url, Map<String, String>? environment) {
  return _HttpClient._findProxyFromEnvironment(url, environment);
}