You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
let socket = io("/server");
|
|
|
|
socket.on('connect', () => {
|
|
socket.emit("auth:login", "test_app", "12345678")
|
|
})
|
|
|
|
socket.on('auth:update', () => {
|
|
socket.emit("user:update", "test", "测试用户")
|
|
}) |