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

Fixed channel identifier check for type ping #12

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

WolframPRO
Copy link
Contributor

Based on the description of the ActionCable protocol, a message with the "ping" type comes without a channel identifier. The fix allows for each type of message to specify whether it is necessary to look at the channel identifier.

https://docs.anycable.io/misc/action_cable_protocol

Server sends ping messages ({ "type": "ping", "message": <Time.now.to_i>})

Copy link

@murabye murabye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

авесоме

@nerzh
Copy link
Owner

nerzh commented Oct 14, 2022

Thanks 🤝

@nerzh nerzh merged commit 6b85886 into nerzh:master Oct 14, 2022
@nerzh nerzh requested review from nerzh and murabye and removed request for murabye and nerzh October 14, 2022 14:58
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