[Django]-Do websockets send and receive full messages?

0👍

You can assume that the message will be received if the client is connected. And visa versa, that the server will receive the message it is listening.

Django Channel’s are reliably unreliable.

Calling receive on these channels does not guarantee that you will get the messages in order or that you will get anything if the channel is non-empty.

https://channels.readthedocs.io/en/latest/channel_layer_spec.html#channel-semantics

👤townie

Leave a comment