UNPKG

232 BTypeScriptView Raw
1/**
2 * Set up the DNS resolver class by registering it as the handler for the
3 * "dns:" prefix and as the default resolver.
4 */
5export declare function setup(): void;
6export interface DnsUrl {
7 host: string;
8 port?: string;
9}