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

Changed the connect method to a public API, so that a user can manually ... #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Changed the connect method to a public API, so that a user can manually ... #21

wants to merge 3 commits into from

Conversation

Jakobud
Copy link
Contributor

@Jakobud Jakobud commented Aug 3, 2014

...connect/reconnect. Refresh doesn't work if the user manually closed the connection, forcing the user to recreate the Reconnecting Websocket Object and redefine all methods for it. This pull request solves this problem.

…ly connect/reconnect. Refresh doesn't work if the user manually closed the connection, forcing the user to recreate the Reconnecting Websocket Object and redefine all methods for it. This pull request solves this problem.
@joewalnes
Copy link
Owner

Nice thanks!

Some minor requests:

  • Can you rename connect() to open(). I like the symmetry with close().
  • Can you add documentation to the header and README explaining this.

Thanks
-Joe

@Jakobud
Copy link
Contributor Author

Jakobud commented Aug 4, 2014

Yeah I'll change that. I did consider making it open() afterwords but just left it.

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

Successfully merging this pull request may close these issues.

2 participants