mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
24 lines
732 B
TypeScript
24 lines
732 B
TypeScript
// 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';
|
|
protocol?: 'http:' | 'https:';
|
|
proxyAuth?: string;
|
|
sockets?: number;
|
|
proxyHttpsOptions?: { [key: string]: any };
|
|
originHttpsOptions?: { [key: string]: any };
|
|
}
|