![]() ![]() Sets the reconnectionDelayMax option, or returns it if no parameters are passed. Sets the reconnectionDelay option, or returns it if no parameters are passed. Sets the reconnectionAttempts option, or returns it if no parameters are passed. Sets the reconnection option, or returns it if no parameters are passed. Query parameters can also be provided, either with the query option or directly in the url (example: To understand what happens under the hood, the following example: 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 /.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |