diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-05-21 03:43:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 03:43:54 +0200 |
commit | 3e03865d89e3abf0755e6d3b8305632a5319fdfe (patch) | |
tree | e3e29aa35947891635700a588c4a5f02e73f179c /cli/tsc/dts/lib.deno.unstable.d.ts | |
parent | 5664ac0b49f69fefee68b3c6893266eb6a5e3a74 (diff) |
feat(unstable): add more options to Deno.createHttpClient (#17385)
Diffstat (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 70d7ef7c4..8681cbd9b 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -821,6 +821,15 @@ declare namespace Deno { certChain?: string; /** PEM formatted (RSA or PKCS8) private key of client certificate. */ privateKey?: string; + /** Sets the maximum numer of idle connections per host allowed in the pool. */ + poolMaxIdlePerHost?: number; + /** Set an optional timeout for idle sockets being kept-alive. + * Set to false to disable the timeout. */ + poolIdleTimeout?: number | false; + /** Whether HTTP/1.1 is allowed or not. */ + http1?: boolean; + /** Whether HTTP/2 is allowed or not. */ + http2?: boolean; } /** **UNSTABLE**: New API, yet to be vetted. |