We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
Is there any chance to get channel inside function decorated by:
@on_message(channel="^room-") def my_chat_handler(request, socket, context, message): # TODO: How can I get channel ...
I can get all channels connected with socket - but I just need this one, which sends message.
Currently I'm sending channel in message directly from JavaScript in my client - but I want to secure communication, by channel recognition on server.
I searched a lot but found nothing (Maybe I'm asking google wrong questions?). Maybe answer is very simple and obwious to You.
Please, help me. What can I do?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
Is there any chance to get channel inside function decorated by:
I can get all channels connected with socket - but I just need this one, which sends message.
Currently I'm sending channel in message directly from JavaScript in my client - but I want to secure communication, by channel recognition on server.
I searched a lot but found nothing (Maybe I'm asking google wrong questions?). Maybe answer is very simple and obwious to You.
Please, help me. What can I do?
The text was updated successfully, but these errors were encountered: