abstract fun createRequest(agent: Agent, recordId: String): Single<Pair<SentRequest, ConnectionRequestMessage>>
Creates a request message from a record with the given ID.
agent
- for which to execute the action.
recordId
- is the ID of a record from which the request will be created.
Return
Single of a Pair of ConnectionRecord.SentRequest and
ConnectionRequestMessage, the updated record and the created request messages.