Shared Key
constructor(dependencies: DittoDependencies, appId: String, sharedKey: String, siteId: BigInteger? = null)
Parameters
dependencies
the dependencies required by the SDK to be initialised.
app Id
the name of the app. All peers must use the same app name to communicate.
shared Key
a base64-encoded DER private key. Refer to Ditto documentation for details about generating shared keys.
site Id
the site identifier of the peer.