Companion
object Companion
Content copied to clipboard
Functions
set Priority For Query Overlap Group
Link copied to clipboard
fun setPriorityForQueryOverlapGroup(priority: DittoConnectionPriority, queryOverlapGroup: UByte, ditto: DittoBase)
Content copied to clipboard
Configure the priority with which Ditto should connect to any peers in the given Query Overlap Group. If the priority is set to high, an end-to-end encrypted multihop connection will be established wherever it is not possible to establish a direct connection.
set Query Overlap Group
Link copied to clipboard
Set a Query Overlap Group for the local Ditto instance. Query Overlap Groups are an optional feature that can be used to group peers based on their anticipated queries, and set relative connection priorities amongst these groups.