Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lyoko-Jeremie
Copy link
Contributor

@Lyoko-Jeremie Lyoko-Jeremie commented Nov 26, 2016

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.

this mode will return a Observable and next it when send
this mode useful when someone use flatMap function in Rxjs.
option auto connect code
@afrad
Copy link
Owner

afrad commented Dec 1, 2016

We need someone to test the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants