configHttps method

bool configHttps(
  1. X509Certificate cert,
  2. String host,
  3. int port
)

配置https,默认为true,表示不检验证书,

Implementation

bool configHttps(X509Certificate cert, String host, int port) => true;