angular2-websocket icon indicating copy to clipboard operation
angular2-websocket copied to clipboard

Implement reconnection (WebSocketConfig)

Open tejadong opened this issue 8 years ago • 2 comments

I am trying to implement WebSocketConfig but i am having some errors... Anybody can help me showing me a example?

Thanks.

tejadong avatar May 10 '17 08:05 tejadong

Sorry, i have found this:

this.ws = new $WebSocket('wss://...', null, JSON.parse('{"reconnectIfNotNormalClose": true}'));

Problem solved! :)

tejadong avatar May 10 '17 08:05 tejadong

@tejadong so please close issue thx :)

mburger81 avatar Aug 29 '17 13:08 mburger81