WeSocket is a Websocket Service Demo with client and management.
- Support one management end to manage multiple clients
- Support client recognition
- Support secondary development and use
git clone https://github.com/Wesley-Work/WeSocket.gitpnpm i
pnpm run dev # start client & service
# also you can start client or service separately
pnpm run dev:client # start client
pnpm run dev:service # start serviceThese codes are just a demo (including basic content such as connecting to WebSocket services, client type classification, and heartbeat detection), which serves as the foundation for my other projects. Currently, I have only developed client connection services. You can develop other programs based on this repository according to your own needs, and of course, you can use this demo as a solution
Anyway, if you have any ideas, they can be implemented through code modifications in this repository. Feel free to raise any issues!
The Apache v2 License. Please see the license file for more information.