14 lines
362 B
TypeScript
14 lines
362 B
TypeScript
|
|
/**
|
||
|
|
* The default TCP port to connect to if not explicitly specified in the target.
|
||
|
|
*/
|
||
|
|
export declare const DEFAULT_PORT = 443;
|
||
|
|
/**
|
||
|
|
* Set up the DNS resolver class by registering it as the handler for the
|
||
|
|
* "dns:" prefix and as the default resolver.
|
||
|
|
*/
|
||
|
|
export declare function setup(): void;
|
||
|
|
export interface DnsUrl {
|
||
|
|
host: string;
|
||
|
|
port?: string;
|
||
|
|
}
|