From 5a1505db67d0326bf37b765c8a566584b44a2c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 15 Sep 2023 21:51:25 +0200 Subject: feat(ext/node): http2.connect() API (#19671) This commit improves compatibility of "node:http2" module by polyfilling "connect" method and "ClientHttp2Session" class. Basic operations like streaming, header and trailer handling are working correctly. Refing/unrefing is still a TODO and "npm:grpc-js/grpc" is not yet working correctly. --------- Co-authored-by: Matt Mastracci --- test_util/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test_util/Cargo.toml') diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index 47f7d1d52..f48fce0b3 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -17,11 +17,13 @@ path = "src/test_server.rs" anyhow.workspace = true async-stream = "0.3.3" base64.workspace = true +bytes.workspace = true console_static_text.workspace = true fastwebsockets = { workspace = true, features = ["upgrade"] } flate2.workspace = true futures.workspace = true glob.workspace = true +h2.workspace = true hyper = { workspace = true, features = ["server", "http1", "http2", "runtime"] } lazy-regex.workspace = true libc.workspace = true -- cgit v1.2.3