Add missing doxygen comments (#1223)

Fixes #1218
This commit is contained in:
Alex Kremer
2024-03-01 15:58:18 +00:00
committed by GitHub
parent b3e63b2491
commit a74970b81e
125 changed files with 2755 additions and 365 deletions

View File

@@ -30,6 +30,9 @@
namespace web {
/**
* @brief The requirements of a resolver
*/
template <typename T>
concept SomeResolver = requires(T t) {
std::is_default_constructible_v<T>;
@@ -50,7 +53,7 @@ public:
*
* @param hostname Hostname to resolve
* @param service Service to resolve (could be empty or port number or http)
* @return std::vector<std::string> IP addresses of the hostname
* @return IP addresses of the hostname
*/
std::vector<std::string>
resolve(std::string_view hostname, std::string_view service = "");