aries / net.globalid.aries.features.connection / ConnectionService / createResponse

createResponse

abstract fun createResponse(agent: Agent, recordId: String): Single<Pair<SentResponse, ConnectionResponseMessage>>

Creates a response message from a record with the given ID.

Parameters

agent - for which to execute the action.

recordId - is the ID of a record from which the response will be created.

Exceptions

AriesFrameworkException -

Return
Single of a Pair of ConnectionRecord.SentResponse and ConnectionResponseMessage, the updated record and the created response message.