Answers for "unhandled exception: handshakeexception: handshake error in client (os error:"

0

unhandled exception: handshakeexception: handshake error in client (os error:

class MyHttpOverrides extends HttpOverrides{
  @override
  HttpClient createHttpClient(SecurityContext context){
    return super.createHttpClient(context)
      ..badCertificateCallback = (X509Certificate cert, String host, int port)=> true;
  }
}
Posted by: Guest on August-09-2021
0

flutter unhandled exception: handshakeexception: handshake error in client

class MyHttpOverrides extends HttpOverrides{
  @override
  HttpClient createHttpClient(SecurityContext context){
    return super.createHttpClient(context)
      ..badCertificateCallback = (X509Certificate cert, String host, int port)=> true;
  }
}
Posted by: Guest on July-30-2021

Code answers related to "unhandled exception: handshakeexception: handshake error in client (os error:"

Browse Popular Code Answers by Language