WebSocketClient.trustedSslCertificate

If specified, this X509Certificate will be the only one accepted when connecting to an SSL host. Any other certificate provided by the server will be regarded as invalid. Note: Specifying a custom trusted_ssl_certificate is not supported in HTML5 exports due to browsers restrictions.

  1. X509Certificate trustedSslCertificate [@property getter]
    struct WebSocketClient
    @nogc nothrow @property
    trustedSslCertificate
    ()
  2. X509Certificate trustedSslCertificate [@property setter]

Meta