-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set badCertificateCallback #42
Labels
enhancement
New feature or request
Comments
还有什么问题。可以加群问 |
HttpClient http = HttpClient();
http.badCertificateCallback =
(X509Certificate cert, String host, int port) {
return true;
};
HttpClientHelper().set(IOClient(http)); |
in new version, you should do as following: HttpClient client = ExtendedNetworkImageProvider.httpClient as HttpClient;
client.badCertificateCallback =
(X509Certificate cert, String host, int port) {
return true;
}; |
reopen, peopele can find it quickly |
你是什么版本。。后续版本才是这样写的,前面版本是按照前面的写法 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
加载不出来https的图片,证书不被信任,这改怎么解决?
有没有入口给client设置badCertificateCallback 参数
The text was updated successfully, but these errors were encountered: