BadCertificateCallback typedef

BadCertificateCallback = dynamic Function(X509Certificate, String, int)

A callback to simulate a bad certificate.

See HttpClient.badCertificateCallback.

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

Implementation

typedef BadCertificateCallback = Function(X509Certificate, String, int);