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

createRequest

abstract fun createRequest(agent: Agent, recordId: String): Single<Pair<SentRequest, ConnectionRequestMessage>>

Creates a request 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 request will be created.

Exceptions

AriesFrameworkException -

Return
Single of a Pair of ConnectionRecord.SentRequest and ConnectionRequestMessage, the updated record and the created request messages.