This commit is contained in:
TypeScript Bot
2021-02-19 19:06:03 +00:00
parent 69ac8a6122
commit 11ce637510

View File

@@ -97,7 +97,7 @@ export function streamDone(stream: NodeJS.WritableStream): Promise<void> {
type FetchOptions = https.RequestOptions & {
readonly retries?: boolean | number;
readonly body?: string;
}
};
export class Fetcher {
private readonly agent = new Agent({ keepAlive: true });