drogon/examples/redis_chat
Ken Matsui c2b8e7c624
Enable readability/inheritance for cpplint (#1934)
2024-01-31 11:21:18 +08:00
..
controllers Enable readability/inheritance for cpplint (#1934) 2024-01-31 11:21:18 +08:00
CMakeLists.txt Drop cpp14 build (#1740) 2023-08-23 11:49:55 +08:00
README.md Support redis subscription (#1212) 2022-09-13 10:30:51 +08:00
main.cc Support redis subscription (#1212) 2022-09-13 10:30:51 +08:00

README.md

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.