group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
server_name Namespace Reference

Functions

std::string clampUtf8Bytes (std::string_view value)
std::string sanitize (std::string_view value, std::string_view fallback=k_default)

Variables

constexpr std::size_t k_maxBytes = 32
constexpr std::string_view k_default = "Server"

Function Documentation

◆ clampUtf8Bytes()

std::string server_name::clampUtf8Bytes ( std::string_view value)
inline
Here is the caller graph for this function:

◆ sanitize()

std::string server_name::sanitize ( std::string_view value,
std::string_view fallback = k_default )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ k_default

std::string_view server_name::k_default = "Server"
constexpr

◆ k_maxBytes

std::size_t server_name::k_maxBytes = 32
constexpr