UNPKG

xcraft-global-agent

Version:

Global HTTP/HTTPS proxy configurable using environment variables.

8 lines (7 loc) 306 B
/// <reference types="node" /> /// <reference types="node" /> import http from 'http'; import https from 'https'; type AgentType = http.Agent | https.Agent; declare const _default: (originalMethod: Function, agent: AgentType, forceGlobalAgent: boolean) => (...args: any[]) => any; export default _default;