Skip to main content

Socket consumer environment with more systematic methods/events and auth

Project description

django-socket-framework

Socket consumer environment with separated methods/events and token authentication.

Installation

pip install -i https://test.pypi.org/simple/ django-socket-framework

Usage

Basic channels setup:

show channels setting up

Then we can create our consumer:

*imports*

class ChatConsumer(JWTAuthConsumer):
....

then some test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-socket-framework-0.1.9.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

django_socket_framework-0.1.9-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page