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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7ec9f8e2f1357e1eff75a6520a8b5cb8bf287a5961cbf29ed398cc754f0cfc0
|
|
| MD5 |
d46b451d431c4a38594bef4967921322
|
|
| BLAKE2b-256 |
4aa5746f7fccc34992cda8d37c8940ad44b83856e53843c1ae79a11a728eee9b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8a39505aebd6bf87c1f809c87734c39230ec11fec813b5a27f265d2f9fb7385
|
|
| MD5 |
799c1cabf31dc8c6450b50f71be3d3f4
|
|
| BLAKE2b-256 |
c650206708df7e5febcf6e9b7456d5f8ac05545f606e998c12fefb0fd6c71d20
|