import { IDidResolver, IDidResolveResult } from '../index'; import IFetchRequest from '../tracing/IFetchRequest'; /** * Fetches DID Documents from remote resolvers over http and caching * the response for a specified period of time. * @class * @extends DidResolver */ export default class ManagedHttpResolver implements IDidResolver { /** * String to hold the formatted resolver url */ readonly resolverUrl: string; /** * @param universalResolverUrl the URL endpoint of the remote universal resolvers */ constructor(universalResolverUrl: string); /** * Looks up a DID Document * @inheritdoc */ resolve(did: string, fetchRequest?: IFetchRequest): Promise; }