rocketchat-node
rocketchat-node copied to clipboard
Update rocketChat.js
The optional "useragent" parameter has been added to the connection parameters. In my network, Cisco ChekPoint requires its presence in requests. Added method selection (ws/wss) for net.wsClient depending on the specified protocol (http/https) in the connection parameters. There was a websocket error with ssl requests on port 443.