mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-03 12:18:11 +08:00
373 B
373 B
Redis example
A simple redis chat server
Usage
First you need redis running on the port 6379.
Connect with username
ws://localhost:8080/chat?name=
Enter room
Send message ENTER <roomNo>
to enter a room.
room number should be 0 - 99.
Quit room
Send message QUIT
to quit room.
Send message
Send whatever else will be a message.