typings: add missing properties in HTTPParser

PR-URL: https://github.com/nodejs/node/pull/60257
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Woohyun Sung authored and Antoine du Hamel committed 2025-10-24 00:49:37 +02:00
1 parent 9ecaf41f8e
commit 09ae6fc065
1 file changed
+8
+8
View File
@@ -27,10 +27,18 @@ declare namespace InternalHttpParserBinding {
static kLenientHeaders: number;
static kLenientChunkedLength: number;
static kLenientKeepAlive: number;
static kLenientTransferEncoding: number;
static kLenientVersion: number;
static kLenientDataAfterClose: number;
static kLenientOptionalLFAfterCR: number;
static kLenientOptionalCRLFAfterChunk: number;
static kLenientOptionalCRBeforeLF: number;
static kLenientSpacesAfterChunkSize: number;
static kLenientAll: number;
close(): void;
free(): void;
remove(): void;
execute(buffer: Buffer): Error | Buffer;
finish(): Error | Buffer;
initialize(