AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::codec::Format Struct Reference

#include <format.hpp>

Collaboration diagram for anch::codec::Format:

Public Attributes

std::string name
std::vector< std::string > mediaTypes

Detailed Description

Format supported by the program: anch-codec (text ) and each codec plugin (json , ...) register their format when their library is loaded. Formats are only described (introspection: startup logs, accepted media types, ...): values are serialized with codecs types (see Codecs).

Author
Vincent Lachenal
Since
0.3

Member Data Documentation

◆ mediaTypes

std::vector<std::string> anch::codec::Format::mediaTypes

Media types handled by the format codecs (application/json , ...)

◆ name

std::string anch::codec::Format::name

Format name (text , json , ...)


The documentation for this struct was generated from the following file: