Skip to main content

Module native

Module native 

Source
Expand description

The native runtime surface: a reqwest HTTP transport plus convenience entry points (resolve, resolve_with, resolve_blocking) that wire it up.

Only compiled with the native feature (the default). A short connect timeout makes the /health ladder probes fall through fast when no local node is up.

Structs§

ReqwestTransport
A HttpTransport backed by reqwest. Cheap to clone/reuse.

Functions§

resolve
Resolve a DIG URN with the default reqwest transport and default options.
resolve_blocking
Blocking convenience: resolve on a private current-thread tokio runtime. For callers outside an async context (a CLI, a sync FFI boundary).
resolve_with
Resolve a DIG URN with the default reqwest transport and explicit options.