Function GetQTypeFromString

Function Documentation

inline std::optional<DnsQType> GetQTypeFromString(std::string_view q_type)

Convert QType string representation to its enum equivalent.

Parameters:

q_type – QType to get enum value for

Returns:

DnsQType equivalent of q_type