aries / net.globalid.aries.agents / Agent / process

process

abstract fun process(packedMessage: String): Single<MessageProcessResponse>

Processes the given packed message. First, the message is unpacked and based on the key, the corresponding connection record is found. We can then handle the message using the unpacked message context.

Parameters

packedMessage - is the packed message

abstract fun process(agentMessage: AgentMessage): Single<MessageProcessResponse>

Processes the given agent message. Useful for messages that are not packed, e.g. connection invitation, credential offer from a QR code or some other source.

Parameters

agentMessage - is the message to process.