Base metadata for any stream (text or bytes).
More...
#include <data_stream.h>
|
|
std::string | stream_id |
| | Unique identifier for this stream.
|
| |
|
std::string | mime_type |
| | MIME type of the stream (e.g. "text/plain", "application/octet-stream").
|
| |
|
std::string | topic |
| | Application-defined topic name.
|
| |
|
std::int64_t | timestamp = 0 |
| | Timestamp in milliseconds when the stream was created.
|
| |
|
std::optional< std::size_t > | size |
| | Total size of the stream in bytes, if known.
|
| |
|
std::map< std::string, std::string > | attributes |
| | Arbitrary key–value attributes attached to the stream.
|
| |
Base metadata for any stream (text or bytes).
The documentation for this struct was generated from the following file: