WebSocketServer.sslCertificate

When set to a valid X509Certificate (along with privateKey) will cause the server to require SSL instead of regular TCP (i.e. the wss:// protocol).

  1. X509Certificate sslCertificate [@property getter]
    struct WebSocketServer
    @nogc nothrow @property
    sslCertificate
    ()
  2. X509Certificate sslCertificate [@property setter]

Meta