Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
key.cpp File Reference
#include <haio_cache.hpp>
#include <haio_util.hpp>
#include <wolfssl/options.h>
#include <wolfssl/wolfcrypt/md5.h>
#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for key.cpp:

Go to the source code of this file.

Namespaces

namespace  Haio
namespace  Haio::Cdn

Functions

std::string Haio::Cdn::cacheKey (std::string_view bucket, std::string_view path, std::string_view query)
std::vector< uint8_t > Haio::Cdn::encodeEntry (const CacheEntry &entry)
std::optional< CacheEntry > Haio::Cdn::decodeEntry (std::span< const uint8_t > raw)