Does Azure appservice has native websockets for Python like they do for node.js/.net?
I'm assuming as of right now, the answer is no, and you'd need to use a VM to achieve this?
(fyi. there's a similar question here but it's been deleted.)
The answer if yes, Python websocket support on Azure Web Apps. The necessary steps or guideline as below.
WEB SOCKETS
option of Application settings
to ON
on Azure portal, as the blog said as below, it's matter with any languages.Azure IIS supports Python webapp using WSGI, you can refer to the tutorial to know it and follow the tutorial content to build & configure your Python webapp with WSGI.
There is a similar Combining websockets and WSGI in a python app SO thread which had been answered about the feasibility for websocket with WSGI in Python. And as references, there are some packages supported this combination, such as Eventlet, dwebsocket for Django, etc that you can search the words websocket
& wsgi
to know more.
Hope it helps.