aries / net.globalid.aries.features.trustping / TrustPingService / createTrustPing

createTrustPing

abstract fun createTrustPing(agent: Agent, comment: String?, responseRequested: Boolean): Single<Pair<SentPing, TrustPingMessage>>

Creates a trust ping message with an optional comment.

Parameters

agent - for which to create the message.

comment - is the optional comment for the receiver.

responseRequested -

Return
Single of a Pair of a TrustPingRecord.SentPing and TrustPingMessage, the record for this trust ping and the created message.