django / channels

Developer-friendly asynchrony for Django
https://channels.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.08k stars 800 forks source link

Receiving bytes and string data on the same consumer #2013

Closed Fernando473 closed 10 months ago

Fernando473 commented 1 year ago

Hi, how can I receive data of type bytes and strings on the same consumer, Actually I have this function but the bytes data is missing. image

I hope, you can help me with this truoble.

carltongibson commented 1 year ago

The client will either send bytes or text. Not both in the same frame. No? 🤔