@types/global-agent
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

Installation

npm install --save @types/global-agent

Summary

This package contains type definitions for global-agent (https://github.com/gajus/global-agent#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/global-agent.

index.d.ts

export interface ProxyAgentConfigurationInputType {
    environmentVariableNamespace?: string | undefined;
    forceGlobalAgent?: boolean | undefined;
    socketConnectionTimeout?: number | undefined;
}

export interface ProxyAgentConfigurationType {
    readonly HTTP_PROXY: string | null;
    readonly HTTPS_PROXY: string | null;
    readonly NO_PROXY: string | null;
}

export function bootstrap(configurationInput?: ProxyAgentConfigurationInputType): boolean;
export function createGlobalProxyAgent(
    configurationInput: ProxyAgentConfigurationInputType,
): ProxyAgentConfigurationType;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Jamie Magee.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/global-agent

Weekly Downloads

100,167

Version

2.1.3

License

MIT

Unpacked Size

3.76 kB

Total Files

5

Last publish

Collaborators

  • types