@grpc/grpc-js
Version:
gRPC Library for Node - pure JS implementation
14 lines (13 loc) • 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;
}