mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #28960 from wrboyce/ssh2-compress
Add `compress` argument to `ssh2.ConnectConfig`
This commit is contained in:
Vendored
+5
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user