Files
UpAndDown/src/helpers/helpers.h
T

21 lines
443 B
C++

#pragma once
#include <boost/beast.hpp>
namespace uad
{
boost::beast::string_view MimeType(boost::beast::string_view path);
std::string PathCat(boost::beast::string_view base, boost::beast::string_view path);
void Fail(boost::beast::error_code ec, char const* what);
std::string ToHex(std::byte* src, size_t len);
std::string HashPassword(const std::string& password);
std::string GenerateUUID();
uint64_t Random();
} // namespace uad