802b84b8410a023955f56d31b485c7d2b688eb9644a126a6805515a16c07db2b06d68a643267a84651ae15e9a25d04df117f624c1ac07aceaf6ac3be559c5e 675 B

123456789101112131415161718192021
  1. import Agent from './agent'
  2. import Dispatcher from './dispatcher'
  3. export default EnvHttpProxyAgent
  4. declare class EnvHttpProxyAgent extends Dispatcher {
  5. constructor(opts?: EnvHttpProxyAgent.Options)
  6. dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
  7. }
  8. declare namespace EnvHttpProxyAgent {
  9. export interface Options extends Agent.Options {
  10. /** Overrides the value of the HTTP_PROXY environment variable */
  11. httpProxy?: string;
  12. /** Overrides the value of the HTTPS_PROXY environment variable */
  13. httpsProxy?: string;
  14. /** Overrides the value of the NO_PROXY environment variable */
  15. noProxy?: string;
  16. }
  17. }