Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.14 KB

File metadata and controls

38 lines (23 loc) · 1.14 KB

WeSocket

WeSocket is a Websocket Service Demo with client and management.

🎉 Features

  • Support one management end to manage multiple clients
  • Support client recognition
  • Support secondary development and use

📦 Installation

git clone https://github.com/Wesley-Work/WeSocket.git

🔨 Usage

pnpm 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 service

⚠️ Warning

These 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!

License

The Apache v2 License. Please see the license file for more information.