Checks if `addr` is a valid FQDN string
| 118 | |
| 119 | // Checks if `addr` is a valid FQDN string |
| 120 | bool |
| 121 | validate_host_name(std::string_view addr) |
| 122 | { |
| 123 | return std::all_of(addr.begin(), addr.end(), &is_host_char); |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | Checks if the (un-well-known) scheme is valid |
no test coverage detected