@types/nodemailer
Version:
TypeScript definitions for nodemailer
17 lines (13 loc) • 378 B
TypeScript
/// <reference types="node" />
import { Socket } from "net";
import { TLSSocket } from "tls";
/**
* Establishes proxied connection to destinationPort
*/
declare function httpProxyClient(
proxyUrl: string,
destinationPort: number,
destinationHost: string,
callback: (err: Error | null, socket: TLSSocket | Socket) => void,
): void;
export = httpProxyClient;