fmgp.did.comm.extension.ReceivedOrdersElement
See theReceivedOrdersElement companion object
The received_orders header tells other parties how the sender has experienced the unfolding interaction so far. This allows gaps to be detected, possibly triggering a resend. The value of this header is an array of gap detector objects in the format {"id":
"received_orders": [
{"id": "did:ex:bob", "last": 2, "gaps": []},
{"id": "did:ex:alice", "last": 4, "gaps": [2,3]}
]
This lets Alice (or Bob) notice that the auctioneer hasn't seen the messages that Alice numbered 2 and 3. Gaps can then be plugged or ignored, depending on protocol rules.
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article