Skip to content

how to statically set socket.io.js on the client side? #528

@soleiljy

Description

@soleiljy

Hi,

I'm trying to use Socket.io on Android. One way to use Socket.io on Adroid is to get "socket.io.js" file on a server running node.js. Like,

<script src="http://.../socket.io/socet.io.js"> This approach, however, is not cost-effective since whenever making connection to Socket.io, socket.io.js file should be transferred to Android So my questions is: Is it safe to use the static version of socket.io.js downloaded from the server? In other words, socket.io.js files would be different when connecting to the node.js server with different clients (say, Safari vs. Chrome)? thanks in advance,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions