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

change sockets to channels in Transport.dispatch #1231

Merged
merged 1 commit into from
Sep 25, 2015

Conversation

trarbr
Copy link
Contributor

@trarbr trarbr commented Sep 25, 2015

Noticed this when reading through the source for the longpoll and websocket transports.

The documentation also mentions that transports dispatch to channels: https://github.com/phoenixframework/phoenix/blob/master/lib/phoenix/socket/transport.ex#L179

josevalim added a commit that referenced this pull request Sep 25, 2015
change `sockets` to `channels` in Transport.dispatch
@josevalim josevalim merged commit d54019e into phoenixframework:master Sep 25, 2015
@chrismccord
Copy link
Member

Thanks, but can we revert this? Sockets are multiplexed, so it might have appeared confusing, but each channel has its own socket. sockets in this context was correct

@chrismccord
Copy link
Member

Ignore me, @josevalim changed the transports to use channels instead of sockets as their state name, and I missed this change in bbebb81
👍 for consistency

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.

3 participants