Replace protocols_whitelist with transports

This commit is contained in:
harryadel
2023-04-10 16:05:36 +02:00
parent de93db1405
commit 31d03c3248

View File

@@ -158,7 +158,7 @@ export class ClientStream extends StreamClientCommon {
this._cleanup(); // cleanup the old socket, if there was one.
var options = {
protocols_whitelist: this._sockjsProtocolsWhitelist(),
transports: this._sockjsProtocolsWhitelist(),
...this.options._sockjsOptions
};