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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file django-socket-framework-0.1.9.tar.gz.

File metadata

  • Download URL: django-socket-framework-0.1.9.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for django-socket-framework-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d7ec9f8e2f1357e1eff75a6520a8b5cb8bf287a5961cbf29ed398cc754f0cfc0
MD5 d46b451d431c4a38594bef4967921322
BLAKE2b-256 4aa5746f7fccc34992cda8d37c8940ad44b83856e53843c1ae79a11a728eee9b

See more details on using hashes here.

File details

Details for the file django_socket_framework-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: django_socket_framework-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for django_socket_framework-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a39505aebd6bf87c1f809c87734c39230ec11fec813b5a27f265d2f9fb7385
MD5 799c1cabf31dc8c6450b50f71be3d3f4
BLAKE2b-256 c650206708df7e5febcf6e9b7456d5f8ac05545f606e998c12fefb0fd6c71d20

See more details on using hashes here.

Supported by

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