Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
d87a942ab3 | |||
60e8657467 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"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",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user