Initial commit

This commit is contained in:
2024-12-11 12:07:19 +01:00
commit 431b183e01
18 changed files with 2397 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#include <string_view>
namespace uad
{
using namespace std::string_view_literals;
struct content_type
{
content_type() = delete;
constexpr inline static std::string_view k_TextHtml = "text/html"sv;
constexpr inline static std::string_view k_TextCsv = "text/csv"sv;
constexpr inline static std::string_view k_TextPlain = "text/plain"sv;
constexpr inline static std::string_view k_JSON = "application/json"sv;
constexpr inline static std::string_view k_Audio = "audio/mpeg"sv;
constexpr inline static std::string_view k_AudioExample = "audio/example"sv;
constexpr inline static std::string_view k_FontWoff = "font/woff"sv;
constexpr inline static std::string_view k_FontTtf = "font/ttf"sv;
constexpr inline static std::string_view k_FontOtf = "font/otf"sv;
constexpr inline static std::string_view k_ImagePng = "image/png"sv;
constexpr inline static std::string_view k_ImageJpeg = "image/jpeg"sv;
constexpr inline static std::string_view k_ImageGif = "image/gif"sv;
constexpr inline static std::string_view k_Model = "model/vrml"sv;
constexpr inline static std::string_view k_VideoMp4 = "video/mp4"sv;
constexpr inline static std::string_view k_VideoWebm = "video/webm"sv;
constexpr inline static std::string_view k_Binary = "application/octet-stream"sv;
};
}