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

Checking the session present flag on connect #240

Closed
danielnelson opened this issue Oct 11, 2018 · 2 comments
Closed

Checking the session present flag on connect #240

danielnelson opened this issue Oct 11, 2018 · 2 comments

Comments

@danielnelson
Copy link

My understanding is that when using persistent sessions I should check the "session present flag" on connect to determine if I need to create the subscriptions. However, I don't see a way to retrieve this information, is it possible to get the value of this flag?

@alsm
Copy link
Contributor

alsm commented Oct 11, 2018

You're right this isn't currently exposed in the v3 client, I propose to add the field to the ConnectToken and you'll be able to query it from there.

@alsm
Copy link
Contributor

alsm commented Oct 25, 2018

I have just added a SessionPressent() bool function to the ConnectToken

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

No branches or pull requests

2 participants