|
group2 0.1.0
CSE 125 Group 2
|
Shared server-name validation helpers. More...
#include <cstddef>#include <string>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | server_name |
Functions | |
| std::string | server_name::clampUtf8Bytes (std::string_view value) |
| std::string | server_name::sanitize (std::string_view value, std::string_view fallback=k_default) |
Variables | |
| constexpr std::size_t | server_name::k_maxBytes = 32 |
| constexpr std::string_view | server_name::k_default = "Server" |
Shared server-name validation helpers.