aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/undici/lib/dispatcher/client.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/undici/lib/dispatcher/client.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/node_modules/undici/lib/dispatcher/client.js b/node_modules/undici/lib/dispatcher/client.js
index 3dc3566..18472ff 100644
--- a/node_modules/undici/lib/dispatcher/client.js
+++ b/node_modules/undici/lib/dispatcher/client.js
@@ -106,9 +106,10 @@ class Client extends DispatcherBase {
autoSelectFamilyAttemptTimeout,
// h2
maxConcurrentStreams,
- allowH2
+ allowH2,
+ webSocket
} = {}) {
- super()
+ super({ webSocket })
if (keepAlive !== undefined) {
throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')