Function 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).

X509Certificate sslCertificate() nothrow @property @nogc;

void sslCertificate (
  X509Certificate v
) nothrow @property @nogc;