[Backport 7.x] Added proxy support (#1276)
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bb05668a44
commit
4c1095d805
2
lib/pool/index.d.ts
vendored
2
lib/pool/index.d.ts
vendored
@ -27,6 +27,7 @@ import { nodeFilterFn, nodeSelectorFn } from '../Transport';
|
||||
interface BaseConnectionPoolOptions {
|
||||
ssl?: SecureContextOptions;
|
||||
agent?: AgentOptions;
|
||||
proxy?: string | URL;
|
||||
auth?: BasicAuth | ApiKeyAuth;
|
||||
emit: (event: string | symbol, ...args: any[]) => boolean;
|
||||
Connection: typeof Connection;
|
||||
@ -83,6 +84,7 @@ declare class BaseConnectionPool {
|
||||
emit: (event: string | symbol, ...args: any[]) => boolean;
|
||||
_ssl: SecureContextOptions | null;
|
||||
_agent: AgentOptions | null;
|
||||
_proxy: string | URL;
|
||||
auth: BasicAuth | ApiKeyAuth;
|
||||
Connection: typeof Connection;
|
||||
constructor(opts?: BaseConnectionPoolOptions);
|
||||
|
||||
Reference in New Issue
Block a user