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

add 4th send return mode: Old Observable mode AND option auto connect code

Open Lyoko-Jeremie opened this issue 9 years ago • 1 comments

1.add 4th send return mode: Old Observable mode this mode will return a Observable and next it when send this mode useful when someone use flatMap function in Rxjs.

2.option auto connect code use mustReconnectCloseStatusCodeListandnotReconnectCloseStatusCodeListto config when to reconnect

3.default close mode is close(false) so, you can simple write close()to close it


I dont test the code. because my test evironment broken, this lib cannot create any connect, only by a reboot on my computer. (+_+)
now I lost my test evironment. So, this PR need complete test before merge.

Lyoko-Jeremie avatar Nov 26 '16 07:11 Lyoko-Jeremie

We need someone to test the code.

afrad avatar Dec 01 '16 10:12 afrad