Project-Stage-Academy / UA1244_beta

1 stars 0 forks source link

WebSocket Consumers for Real-Time Messaging [40-4] #48

Open mehalyna opened 3 weeks ago

mehalyna commented 3 weeks ago

Description: Implement WebSocket consumers that handle sending and receiving messages in real-time.

Technical Steps:

  1. Define a WebSocket consumer that handles connection, disconnection, and receives messages from the WebSocket.
  2. Integrate the consumer with the messaging model to save messages as they are received.
  3. Broadcast messages to relevant parties in a conversation when a new message is sent.

https://channels.readthedocs.io/en/latest/topics/consumers.html

Task #40