Skip to content
New issue

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

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

Already on GitHub? # to your account

add local flag to the socket object #3219

Merged
merged 1 commit into from
Apr 27, 2018
Merged

Conversation

sleimanx2
Copy link
Contributor

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

Currently, the only way to set the local flag when in socket context is as follow

socket.flags['local'] = true;

New behaviour

Now we can add the local flag the same way we do it on the Namespace object

socket.local...

Other information (e.g. related issues)

#3217

@darrachequesne
Copy link
Member

Thanks!

@darrachequesne darrachequesne added this to the 2.1.1 milestone May 23, 2018
dzad pushed a commit to dzad/socket.io that referenced this pull request May 29, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants