Variant

text-data

========================================================================= Streaming Data Types

Text data that can be provided as a string or stream

Streaming text is useful for large content that shouldn't be buffered entirely in memory.

variant text-data {
  text(string),
  text-stream(input-stream),
}

Cases

CasePayloadDescription
textstring

Inline text content

text-streaminput-stream

Streamed text content