perform Rpc
abstract suspend fun performRpc(destinationIdentity: Participant.Identity, method: String, payload: String, responseTimeout: Duration = 15.seconds): String
Initiate an RPC call to a remote participant
Return
The response payload.
Parameters
destination Identity
The identity of the destination participant.
method
The method name to call.
payload
The payload to pass to the method.
response Timeout
Timeout for receiving a response after initial connection. If a value less than 8s is provided, it will be automatically clamped to 8s to ensure sufficient time for round-trip latency buffering. Defaults to 15 seconds.
Throws
on failure. Details in RpcError.message.