pub type Lookup = Arc<dyn Fn(String) -> Pin<Box<dyn Future<Output = Result<Vec<IpAddr>>> + Send>> + Send + Sync>;Expand description
Name resolution for webhook connections: host name → addresses. The
system resolver in production (system_lookup); tests pass their own
answers to Dispatcher::with_lookup (DNS rebinding without a DNS
server).
Aliased Type§
pub struct Lookup { /* private fields */ }