setAuthenticateProxy method

  1. @override
void setAuthenticateProxy(
  1. Future<bool> f(
    1. String host,
    2. int port,
    3. String scheme,
    4. String? realm,
    )?
)
override

Sets the function to be called when a proxy is requesting authentication.

Pass through setter of HttpClient.authenticateProxy.

Implementation

@override
void setAuthenticateProxy(
        Future<bool> Function(
                String host, int port, String scheme, String? realm)?
            f) =>
    client.authenticateProxy = f;