A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
stream_reference.h File Reference
#include <string>
#include <string_view>
#include <absl/status/status.h>
#include <absl/status/statusor.h>
#include "a11/data/types.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  a11::actions::StreamReference
 Locate an auxiliary producer independently of its stream payload. More...
 

Namespaces

namespace  a11
 
namespace  a11::actions
 

Functions

absl::StatusOr< data::Chunk > a11::actions::StreamReferenceToChunk (const StreamReference &reference)
 Encode a reference and its source as a plain JSON object chunk.
 
absl::StatusOr< StreamReference > a11::actions::StreamReferenceFromChunk (data::Chunk chunk)
 Decode a reference, preserving source metadata as an opaque JSON chunk.
 

Variables

constexpr std::string_view a11::actions::kStreamReferenceAttribute
 Metadata identifying a reference chunk on a scope's reserved output.