findProxyFromEnvironment method

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 of HttpClient.findProxyFromEnvironment.

Implementation

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