Add support for maxResponseSize and maxCompressedResponseSize (#1551)

This commit is contained in:
Tomas Della Vedova
2021-09-16 08:19:57 +02:00
committed by GitHub
parent f7b653dff6
commit 212c3c4ffe
7 changed files with 265 additions and 6 deletions

2
index.d.ts vendored
View File

@ -119,6 +119,8 @@ interface ClientOptions {
};
disablePrototypePoisoningProtection?: boolean | 'proto' | 'constructor';
caFingerprint?: string;
maxResponseSize?: number;
maxCompressedResponseSize?: number;
}
declare class Client {