setAuthenticateProxy method
void
setAuthenticateProxy()
override
Sets the function to be called when a proxy is requesting authentication.
Delegates to HttpClient.authenticateProxy. Also available with WebDavStdClient.authenticated; use addProxyCredentials to supply proxy credentials from this callback.
Implementation
@override
void setAuthenticateProxy(
Future<bool> Function(String host, int port, String scheme, String? realm)?
f,
) {
client.authenticateProxy = f;
}