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);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/HttpOverrides/findProxyFromEnvironment.html