Spaces:
Sleeping

harvestconnect-api / api /consumers.py
Dayozoe's picture
feat: deploy HarvestConnect Django API with crash-proof persistent volume
a6be783 verified
Raw History Blame Contribute Delete
410 Bytes
from channels.generic.websocket import JsonWebsocketConsumer
from .consumers_connection import ChatConnectionMixin
from .consumers_events import ChatEventsMixin
from .consumers_presence import ChatPresenceMixin
class ChatConsumer(
ChatConnectionMixin,
ChatEventsMixin,
ChatPresenceMixin,
JsonWebsocketConsumer,
):
"""Compose connection, event and presence behaviour for chat sockets."""