Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
d87a942ab3 | |||
60e8657467 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartsocket",
|
||||
"version": "2.0.15",
|
||||
"version": "2.0.16",
|
||||
"description": "easy and secure websocket communication",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartsocket',
|
||||
version: '2.0.15',
|
||||
version: '2.0.16',
|
||||
description: 'easy and secure websocket communication'
|
||||
}
|
||||
|
@ -110,7 +110,8 @@ export class SmartsocketClient {
|
||||
smartsocketHost: this,
|
||||
socket: await socketIoClient
|
||||
.connect(socketUrl, {
|
||||
multiplex: false,
|
||||
multiplex: true,
|
||||
rememberUpgrade: true,
|
||||
autoConnect: false,
|
||||
reconnectionAttempts: 0,
|
||||
rejectUnauthorized: socketUrl.startsWith('https://localhost') ? false : true,
|
||||
|
Reference in New Issue
Block a user