WebSocketServer.privateKey

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

  1. CryptoKey privateKey [@property getter]
  2. CryptoKey privateKey [@property setter]
    struct WebSocketServer
    @nogc nothrow @property
    void
    privateKey

Meta