#pragma once
#include <span>
#include <string_view>
/// One HTTP resource stored in the executable.
struct EmbeddedAsset
{
/// Exact request path for this resource.
std::string_view path;
/// HTTP content type, including charset for text resources.
std::string_view content_type;
/// Resource bytes, which may contain null bytes.
std::string_view content;
};
/// Access static resources with storage lasting for the process lifetime.
std::span<const EmbeddedAsset> embeddedAssets();