#include <format.hpp>
Public Attributes | |
| std::string | name |
| std::vector< std::string > | mediaTypes |
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).
| std::vector<std::string> anch::codec::Format::mediaTypes |
Media types handled by the format codecs (application/json , ...)
| std::string anch::codec::Format::name |
Format name (text , json , ...)