userver: userver/clients/dns/resolver_utils.hpp File Reference
Loading...
Searching...
No Matches
resolver_utils.hpp File Reference

Detailed Description

DNS resolver type and component lookup helpers.

Definition in file resolver_utils.hpp.

Go to the source code of this file.

Namespaces

namespace  clients::dns
 DNS client.
 

Enumerations

enum class  clients::dns::ResolverType {
  clients::dns::kGetaddrinfo ,
  clients::dns::kAsync
}
 Resolver types used by the components. More...
 

Functions

clients::dns::Resolverclients::dns::GetResolverPtr (const components::ComponentConfig &config, const components::ComponentContext &context, ResolverType default_type=ResolverType::kAsync)