Skip to main content

install_chained

Function install_chained 

Source
pub fn install_chained<F: DidDocFetcher + 'static>(did_web: DidWebResolver<F>)
Expand description

Install a DidWebResolver as the global resolver, chained in front of the existing global resolver (typically the registry) so local service-name lookups still resolve.

No-op replacement of the global resolver if none is currently set: in that case the DID resolver is installed alone (callers should normally registry::init() first).