Merge pull request #28960 from wrboyce/ssh2-compress

Add `compress` argument to `ssh2.ConnectConfig`
This commit is contained in:
Andrew Casey
2018-09-25 14:31:53 -07:00
committed by GitHub
+5 -1
View File
@@ -1,6 +1,8 @@
// Type definitions for ssh2 v0.5.x
// Project: https://github.com/mscdex/ssh2
// Definitions by: Qubo <https://github.com/tkQubo>, Ron Buckton <https://github.com/rbuckton>
// Definitions by: Qubo <https://github.com/tkQubo>
// Ron Buckton <https://github.com/rbuckton>
// Will Boyce <https://github.com/wrboyce>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
@@ -449,6 +451,8 @@ export interface ConnectConfig {
agentForward?: boolean;
/** Explicit overrides for the default transport layer algorithms used for the connection. */
algorithms?: Algorithms;
/** Compression settings: true (prefer), false (never), 'force' (require) */
compress?: boolean | 'force';
/** A function that receives a single string argument to get detailed (local) debug information. */
debug?: (information: string) => any;
}