Shun.Resolver behaviour (Shun v1.0.2) View Source
Specifies how names are resolved to addresses.
The resolved address is used by Shun.Verifier
when the callback module has specified that the
URI encountered should be resolved.
Link to this section Summary
Callbacks
Resolves the given host name to one or more addresses.
Link to this section Callbacks
Specs
resolve(Shun.name(), timeout()) :: {:ok, [Shun.address(), ...]} | :error
Resolves the given host name to one or more addresses.