📄️ 初始化Once you have installed the Socket.IO client library, you can now init the client. The complete list of options can be found here.
📄️ Socket实例A Socket is the fundamental class for interacting with the server. It inherits most of the methods of the Node.js EventEmitter, like emit, on, once or off.
📄️ 与捆绑器一起使用You will find below the configuration for bundling the client library with different bundlers: