React/Websockets best way to make a connection to a namespace

后端 未结 0 557
北荒
北荒 2021-02-09 21:12

So I made a file which handles the namespace connect which is this one:

import io from "socket.io-client";

const namespaces = {
    \'root\': \'http://         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题