@journeyapps/https-proxy-socket
Version:
Node library to enable opening Socket connections via an HTTPS proxy.
15 lines • 427 B
TypeScript
interface Config {
/** The journey apps cc egress token */
auth: string;
/** The journey apps cc egress proxy domain */
proxy: string;
}
/**
* The patch should be called before instantiating the MongoClient
* @param config - The configuration for the proxy
*/
export declare function useProxyForMongo(config: Config): {
close: () => Promise<void>;
};
export {};
//# sourceMappingURL=mongoPatch.d.ts.map