allSockets (); const ids = await io.in('roomId').allSockets();. socket的instance中存放客製資料. 情境:連線後需要額外資料以利後續的操作ex 存放 ...
確定! 回上一頁