OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::mime_t Struct Reference

Representation of a MIME code. More...

#include <type.hpp>

Public Types

using value_type = std::string

Public Member Functions

constexpr mime_t (const value_type &value)
auto empty () const noexcept
 operator value_type () const
auto operator<=> (const mime_t &) const =default
constexpr auto & value () const

Detailed Description

Representation of a MIME code.

The MIME code is a string representation of the media type of an object, such as "text/plain" or "image/jpeg". It is used to indicate the format of the data stored in a blob