コード例 #1
0
 /// <summary>
 /// Removes a domain from the SSL checking white list.
 /// </summary>
 /// <param name="domain">The domain to remove. It should not contain any scheme or path part in url.</param>
 public void RemoveSslExceptionDomain(string domain)
 {
     if (domain == null)
     {
         UniWebViewLogger.Instance.Critical("The domain should not be null.");
         return;
     }
     if (domain.Contains("://"))
     {
         UniWebViewLogger.Instance.Critical("The domain should not include invalid characters '://'");
         return;
     }
     UniWebViewInterface.RemoveSslExceptionDomain(listener.Name, domain);
 }