socket.io
socket.io copied to clipboard
Can I get an example of how you return the client library when it's requested?
I'm writing a module that wraps socket.io and I'd like to do the same thing socket.io is doing with the client script.
It is nice that socket.io is able to return the client script like this. How/where does socket.io do this? I would like to do something similar with my own module and my own client script.
If anyone would like an example of how to distribute socket.io client library along with some of your own client libraries then check out my implementation.
Since this never got any response I'm just closing it.