Skip to main content

Module payload

Module payload 

Source
Expand description

LDP payload mode definitions and negotiation types.

LDP supports multiple payload modes for data exchange:

  • Mode 0: Plain text
  • Mode 1: Semantic frames (structured JSON)
  • Mode 2: Embedding hints (future)
  • Mode 3: Semantic graphs (future)

MVP implements Modes 0 and 1 only.

Structs§

NegotiatedPayload
Result of payload mode negotiation between two delegates.

Enums§

PayloadMode
Payload mode for LDP message exchange.

Functions§

negotiate_payload_mode
Negotiate the best payload mode from two ordered preference lists.