From 3334799b7675973b933174d21c846bdeccb5d7f0 Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Fri, 8 Mar 2024 16:05:48 -0500 Subject: [PATCH] Explicitly implement the HTTPStreamClient --- src/http-client/node-http2-client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http-client/node-http2-client.ts b/src/http-client/node-http2-client.ts index e4c01cc8..cde5e5df 100644 --- a/src/http-client/node-http2-client.ts +++ b/src/http-client/node-http2-client.ts @@ -9,6 +9,7 @@ import { HTTPClientOptions, HTTPRequest, HTTPResponse, + HTTPStreamClient, HTTPStreamRequest, StreamAdapter, } from "./http-client"; @@ -24,7 +25,7 @@ type OutgoingHttpHeaders = any; /** * An implementation for {@link HTTPClient} that uses the node http package */ -export class NodeHTTP2Client implements HTTPClient { +export class NodeHTTP2Client implements HTTPClient, HTTPStreamClient { static #clients: Map = new Map(); #http2_session_idle_ms: number;