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
Close
Hashes for django-socket-framework-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9794f4713621ef3396edc5b3a2cad425e6a03aaecac18570ae5585303f16294 |
|
MD5 | bbf9122cc9eadd69cff3e03332807824 |
|
BLAKE2b-256 | 8ef39d828cf3e19f04a69e0c2a1002cf2f9d672dc450aafc751703cb2c42b82b |
Close
Hashes for django_socket_framework-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbb53ac8b42ead82cab4f578acfd8ea2696bd8d4f4f9296c1862db1f8145c5b |
|
MD5 | ec2ff1de57f0aa996eab2f01e0530d8d |
|
BLAKE2b-256 | 0c8b76153015de2a35d7f9021f76aecc6ff053ce24acd206be04b7ddefee9407 |