
For example, if the url is a transport connection will be established to and a Socket.IO connection will be established to /users. Passing this option is the equivalent of passing "force new connection": true or forceNew: true.Ī new Socket instance is returned for the namespace specified by the pathname in the URL, defaulting to /. forceNew whether to create a new connectionĬreates a new Manager for the given URL, and attempts to reuse an existing Manager for subsequent calls, unless the multiplex option is passed with false.

Both the client and the server must use the same revision in order to understand each other. The protocol defines the format of the packets exchanged between the client and the server.

The protocol revision number (currently: 5).
