aries / net.globalid.aries.agents / Agent / dispatchAndAwait

dispatchAndAwait

abstract fun dispatchAndAwait(outboundContext: OutboundMessageContext): Maybe<String>

Dispatches the given message and awaits a response. The message comes with additional context containing information about the keys to use and the endpoint to send the packed message to.

Parameters

outboundContext - is the message with additional context.

Return
Maybe of String, the received response.