fix(core): update
This commit is contained in:
parent
5215be946e
commit
60e8657467
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartsocket',
|
name: '@pushrocks/smartsocket',
|
||||||
version: '2.0.15',
|
version: '2.0.16',
|
||||||
description: 'easy and secure websocket communication'
|
description: 'easy and secure websocket communication'
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,8 @@ export class SmartsocketClient {
|
|||||||
smartsocketHost: this,
|
smartsocketHost: this,
|
||||||
socket: await socketIoClient
|
socket: await socketIoClient
|
||||||
.connect(socketUrl, {
|
.connect(socketUrl, {
|
||||||
multiplex: false,
|
multiplex: true,
|
||||||
|
rememberUpgrade: true,
|
||||||
autoConnect: false,
|
autoConnect: false,
|
||||||
reconnectionAttempts: 0,
|
reconnectionAttempts: 0,
|
||||||
rejectUnauthorized: socketUrl.startsWith('https://localhost') ? false : true,
|
rejectUnauthorized: socketUrl.startsWith('https://localhost') ? false : true,
|
||||||
|
Loading…
Reference in New Issue
Block a user