From 48f8764f24e4d4b66c7b2f273f44f711aec1c106 Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 23 Jan 2014 17:12:53 +0900 Subject: [PATCH] Modified Step 2 of 'WebSocket Server' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 866fe6b6..58944a2b 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,7 @@ And if you override the `WebSocketService.OnOpen`, `WebSocketService.OnError` an The `WebSocketService.Send` method sends a data to the client of the current session to the WebSocket service. -The `WebSocketService.Sessions` (its type is `WebSocketSharp.Server.WebSocketSessionManager`) property provides some functions for the sessions to the WebSocket service. +If you want to access the sessions to the WebSocket service, you should use the `WebSocketService.Sessions` property (returns a `WebSocketSharp.Server.WebSocketSessionManager`). The `WebSocketService.Sessions.Broadcast` method broadcasts a data to all clients of the WebSocket service.