From 46138315827e13b6989f9e1050347f13b658505d Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 13 Aug 2012 12:31:11 +0900 Subject: [PATCH] Fixed a few part about WebSocket Server --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 74a31ae8..e9d89d19 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,10 @@ public class Chat : WebSocketService } ``` +If you override `onMessage` method, it is bound to server side `WebSocket.OnMessage` event. + +In addition, if you override `onOpen`, `onError` and `onClose` methods, each of them is bound to `WebSocket.OnOpen`, `WebSocket.OnError` and `WebSocket.OnClose` events. + #### Step 3 #### Creating a instance of `WebSocketServer` class.