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 2025-10-14 17:40:27 +09:00 committed by Node.js GitHub Bot
parent 355252c749
commit 2a18aee4aa

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(