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]
    struct WebSocketServer
    @nogc nothrow @property
    privateKey
    ()
  2. CryptoKey privateKey [@property setter]

Meta