connect
abstract fun connect(connectionRequest: DittoConnectionRequest): DittoConnectionRequestAuthorization
Content copied to clipboard
Called when a connection request is received from another peer.
Return
DittoConnectionRequestAuthorization.Allow if the request should be authorized; DittoConnectionRequestAuthorization.Deny otherwise.
Since
4.8.0
Parameters
connection Request
Contains information about the remote peer that can be used to make an authorization decision.