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

Added GetSessionState method to sockjs.Session #31

Merged
merged 2 commits into from Aug 10, 2015
Merged

Conversation

gngeorgiev
Copy link
Contributor

In my case I need to know each session's status so I can determine whether it can process messages or not.

@igm
Copy link
Owner

igm commented Aug 9, 2015

Thanks for this PR @gngeorgiev. As this PR causes a change in API, I suggest to merge it to master branch only. However on top of you suggestion we could also make state constants public (sessionOpening -> SessionOpening, etc.).

@gngeorgiev
Copy link
Contributor Author

Yeah, I thought about it too. Actually did it now 💯

@igm igm merged commit 2c19cd9 into igm:master Aug 10, 2015
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.

None yet

2 participants