aries / net.globalid.aries.decorators / MessageDecorator

MessageDecorator

abstract class MessageDecorator

Constructors

<init>

MessageDecorator(name: String)

Properties

name

val name: String

Functions

equals

open fun equals(other: Any?): Boolean

Inheritors

ServiceDecorator

This decorator describes a DID service endpoint inline to a message. This allows for connectionless protocol messages (e.g. a proof request that is not bound to a connection).

data class ServiceDecorator : MessageDecorator

ThreadDecorator

Thread decorator is generally required on any type of response

data class ThreadDecorator : MessageDecorator

TransportDecorator

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.

data class TransportDecorator : MessageDecorator