aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/h2.classes.ts
diff options
context:
space:
mode:
authorGravatar cirospaciari <ciro.spaciari@gmail.com> 2023-09-04 16:30:10 -0300
committerGravatar cirospaciari <ciro.spaciari@gmail.com> 2023-09-04 16:30:10 -0300
commit1b6586f094235bfe0c0ce9d9b3b2a08a65610b42 (patch)
treeaa8dab4154285de284790039b1db36491fc6cfcc /src/bun.js/api/h2.classes.ts
parentd134a261d5f710efd040122074fcfb9ed5dea23e (diff)
downloadbun-1b6586f094235bfe0c0ce9d9b3b2a08a65610b42.tar.gz
bun-1b6586f094235bfe0c0ce9d9b3b2a08a65610b42.tar.zst
bun-1b6586f094235bfe0c0ce9d9b3b2a08a65610b42.zip
WIP fix post data/refactor
Diffstat (limited to 'src/bun.js/api/h2.classes.ts')
-rw-r--r--src/bun.js/api/h2.classes.ts20
1 files changed, 20 insertions, 0 deletions
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,