DittoConfigConnect

sealed class DittoConfigConnect

Specifies how this instance discovers and connects to peers, including network settings and authentication options. This is a substructure of DittoConfig.

Inheritors

Types

Link copied to clipboard
data class Server(val url: URI) : DittoConfigConnect

Connects this Ditto instance to a Big Peer at the specified URL.

Link copied to clipboard
data class SmallPeersOnly(val privateKey: String? = null) : DittoConfigConnect

Restricts connectivity to small peers only, optionally using a shared secret (in the form of a private key) for authentication.