This commit is contained in:
2026-04-26 21:47:28 +02:00
parent db373625f5
commit acabd97d01
142 changed files with 1761 additions and 2022 deletions

View File

@@ -39,6 +39,12 @@ declare namespace CacheHandler {
*/
type?: 'shared' | 'private'
/**
* Array of origins to cache. Only requests to these origins will be cached.
* Supports strings (case insensitive) and RegExp patterns.
* @default undefined (cache all origins)
*/
origins?: (string | RegExp)[]
}
export interface CacheControlDirectives {

View File

@@ -92,6 +92,16 @@ export declare namespace Client {
* @default 100
*/
maxConcurrentStreams?: number;
/**
* @description Sets the HTTP/2 stream-level flow-control window size (SETTINGS_INITIAL_WINDOW_SIZE).
* @default 262144
*/
initialWindowSize?: number;
/**
* @description Sets the HTTP/2 connection-level flow-control window size (ClientHttp2Session.setLocalWindowSize).
* @default 524288
*/
connectionWindowSize?: number;
}
export interface SocketInfo {
localAddress?: string

View File

@@ -1,6 +1,6 @@
{
"name": "undici-types",
"version": "7.18.2",
"version": "7.19.2",
"description": "A stand-alone types package for Undici",
"homepage": "https://undici.nodejs.org",
"bugs": {