Skip to content

Commit 11f1243

Browse files
ernestFix Bot
authored andcommitted
fix(engine.io-client): pass query params to createUri in WebTransport
Fixes #5496 - WebTransport query params ignored The WebTransport transport was calling createUri() without passing the query parameters, unlike other transports (websocket, polling) which properly include query params via their uri() methods.
1 parent 190572d commit 11f1243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/engine.io-client/lib/transports/webtransport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class WT extends Transport {
2929
try {
3030
// @ts-ignore
3131
this._transport = new WebTransport(
32-
this.createUri("https"),
32+
this.createUri("https", this.query),
3333
this.opts.transportOptions[this.name],
3434
);
3535
} catch (err) {

0 commit comments

Comments
 (0)