aries / net.globalid.aries.decorators.transport / TransportDecorator

TransportDecorator

@JsonClass(true) data class TransportDecorator : MessageDecorator

This decorator signifies that the receiver of the message should return the response in the same flow (e.g. in the same HTTP POST call). Using Websockets allows us to send and receive multiple messages in the same flow.

Constructors

<init>

This decorator signifies that the receiver of the message should return the response in the same flow (e.g. in the same HTTP POST call). Using Websockets allows us to send and receive multiple messages in the same flow.

TransportDecorator(returnRoute: String, returnRouteThread: String? = null)

Properties

returnRoute

specifies which messages to return:

val returnRoute: String

returnRouteThread

is the thread used for "thread" mode

val returnRouteThread: String?

Companion Object Functions

all

fun all(): TransportDecorator

none

fun none(): TransportDecorator

thread

fun thread(threadId: String): TransportDecorator