Thursday 11 March 2021

Is there a python socket.io library that supports dynamic delivery?

Normally in Node.js land, when you run a socket.io server, in order to easily ensure the client pulls the right socket.io library based on the server version, you'd simply load the library like so:

 <script src="/socket.io/socket.io.js"></script>

where that directory is served by the server-side socket.io library.

But all of the libraries I'm finding for socket.io support in python are requiring the user to load an external socket.io library from a CDN and manually ensure version compatibility. This seems like an objectively worse practice than the traditional Node.js way. Is there a python socket.io library that supports dynamic delivery?



from Is there a python socket.io library that supports dynamic delivery?

No comments:

Post a Comment