Skip to content

Commit

Permalink
Explicitly implement the HTTPStreamClient
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Mar 8, 2024
1 parent 3451d3e commit 06a4e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/http-client/node-http2-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
HTTPClientOptions,
HTTPRequest,
HTTPResponse,
HTTPStreamClient,
HTTPStreamRequest,
StreamAdapter,
} from "./http-client";
Expand All @@ -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<string, NodeHTTP2Client> = new Map();

#http2_session_idle_ms: number;
Expand Down

0 comments on commit 06a4e17

Please sign in to comment.