AuthenticateProxyCallback typedef

AuthenticateProxyCallback = Future<bool> Function(String, int, String, String)

A callback to simulate proxy authentication.

See HttpClient.authenticateProxy.

This is not invoked automatically be the test client if set, but it can be accessed in the RequestCallback method.

Implementation

typedef AuthenticateProxyCallback = Future<bool> Function(
    String, int, String, String);