RestWebSocket增加anyuser功能

This commit is contained in:
Redkale
2017-12-06 10:20:13 +08:00
parent 1da73429f7
commit 2d4b865432
4 changed files with 20 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import org.redkale.net.http.*;
*
* @author zhangjx
*/
@RestWebSocket(name = "chat", catalog = "ws", comment = "文字聊天")
@RestWebSocket(name = "chat", catalog = "ws", comment = "文字聊天", anyuser = true)
public class ChatWebSocket extends WebSocket<Integer, Object> {
protected static final AtomicInteger idcreator = new AtomicInteger(10000);