From 1b6586f094235bfe0c0ce9d9b3b2a08a65610b42 Mon Sep 17 00:00:00 2001 From: cirospaciari Date: Mon, 4 Sep 2023 16:30:10 -0300 Subject: WIP fix post data/refactor --- src/bun.js/api/h2.classes.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/bun.js/api/h2.classes.ts') diff --git a/src/bun.js/api/h2.classes.ts b/src/bun.js/api/h2.classes.ts index caadb5c40..3b53f3261 100644 --- a/src/bun.js/api/h2.classes.ts +++ b/src/bun.js/api/h2.classes.ts @@ -5,6 +5,26 @@ export default [ name: "H2FrameParser", JSType: "0b11101110", proto: { + request: { + fn: "request", + length: 2, + }, + ping: { + fn: "ping", + length: 0, + }, + goaway: { + fn: "goaway", + length: 3, + }, + getCurrentState: { + fn: "getCurrentState", + length: 0, + }, + settings: { + fn: "updateSettings", + length: 1, + }, read: { fn: "read", length: 1, -- cgit v1.2.3