2.1.4 • Published 2 years ago

@types/global-tunnel-ng v2.1.4

Weekly downloads
27,867
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/global-tunnel-ng

Summary

This package contains type definitions for global-tunnel-ng (https://github.com/salesforce/global-tunnel).

Details

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

index.d.ts

// Type definitions for global-tunnel-ng 2.1
// Project: https://github.com/salesforce/global-tunnel
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export function initialize(options?: Options | string): void;

export function end(): void;

export const proxyUrl: string | null;
export const proxyConfig: Options | null;
export const isProxying: boolean;

export interface Options {
    host: string;
    port: number;
    connect?: 'neither' | 'https' | 'both' | undefined;
    protocol?: 'http:' | 'https:' | undefined;
    proxyAuth?: string | undefined;
    sockets?: number | undefined;
    proxyHttpsOptions?: { [key: string]: any } | undefined;
    originHttpsOptions?: { [key: string]: any } | undefined;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:02:14 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by BendingBender.