aries / net.globalid.aries.features.connection / DefaultConnectionService / processResponse

processResponse

open fun processResponse(agent: Agent, responseMessage: ConnectionResponseMessage, record: ConnectionRecord): Single<Connected>

See ConnectionService.processResponse.

After sending a request, we are in the waiting response state. Once we receive a connection response message, we check the signature and store their Did and VerKey from the connection object. At this point, we see the connection as established/completed and can use it.