How to Add Websockets to a Django App without Extra Dependenciesby@jaydenwindle
534 reads
534 reads

How to Add Websockets to a Django App without Extra Dependencies

by Jayden Windle6mFebruary 10th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Django 3.0 ships with ASGI support out of the box, adding Websockets to your Django app requires no extra dependencies. We'll go over how to handle Websocket connections, send and receive data, and implement the business logic in a sample ASGI application. We're going to use the Asynchronous Server Gateway Interface (ASGI) to build web services that support long-lived connections, such as Websockets and Server Sent Events. In this post, we'll learn how to use Django to handle these connections.

Company Mentioned

Mention Thumbnail
featured image - How to Add Websockets to a Django App without Extra Dependencies
Jayden Windle HackerNoon profile picture
Jayden Windle

Jayden Windle

@jaydenwindle

Share Your Thoughts

About Author

Jayden Windle HackerNoon profile picture
Jayden Windle@jaydenwindle

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
L O A D I N G
. . . comments & more!