You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exposed as io global in window if using the standalone build (eg: /socket.io/socket.io.js or the CDN), or the result of calling require('socket.io-client').
When called, it creates a new Manager for the given URL, and attepts to reuse an existing Manager for subsequent calls, unless multiplex option is passed with false. Passing this option is the equivalent of passing force new connection: true.
The rest of the options are passed to the Manager constructor (see below for details).
A Socket instance is returned for the namespace specified ty the pathname in the URL, defaulting to /. For example, if the url is http://localhost/users, a transport connection will be established to http://localhost and a Socket.IO connection will be established to `/users'
The text was updated successfully, but these errors were encountered:
Exposed as
io
global inwindow
if using the standalone build (eg:/socket.io/socket.io.js
or the CDN), or the result of callingrequire('socket.io-client')
.When called, it creates a new
Manager
for the given URL, and attepts to reuse an existingManager
for subsequent calls, unlessmultiplex
option is passed withfalse
. Passing this option is the equivalent of passingforce new connection: true
.The rest of the options are passed to the
Manager
constructor (see below for details).A
Socket
instance is returned for the namespace specified ty the pathname in the URL, defaulting to/
. For example, if theurl
ishttp://localhost/users
, a transport connection will be established tohttp://localhost
and a Socket.IO connection will be established to `/users'The text was updated successfully, but these errors were encountered: