setSelfSigned method
Set self signed to status
.
If self signed is true, Client will ignore invalid certificates. This is helpful in environments where your Appwrite instance does not have a valid SSL certificate.
Implementation
@override
ClientIO setSelfSigned({bool status = true}) {
selfSigned = status;
_nativeClient.badCertificateCallback =
((X509Certificate cert, String host, int port) => status);
return this;
}