Hi @Avinash Mishra ,
Thanks for reaching out to Q&A forum.
Azure functions supports socket io. You can take a look at the following sample code for the implementation of socket io in Function app
https://github.com/edisga/flask-websockets-gunicorn-gevent
You can also try the below versions of js and python libraries
js versions in html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/3.1.3/socket.io.min.js"></script>
Python libraries
Flask==2.0.2
Flask-SocketIO==5.1.1
eventlet==0.30.2