Modified Step 2 of 'WebSocket Server'

This commit is contained in:
sta 2014-01-21 15:29:55 +09:00
parent 630da48fb3
commit afe47c0158

View File

@ -316,11 +316,11 @@ If you override the `WebSocketService.OnMessage` method, it's bound to the serve
And if you override the `WebSocketService.OnOpen`, `WebSocketService.OnError` and `WebSocketService.OnClose` methods, each of them is bound to each server side event of `WebSocket.OnOpen`, `WebSocket.OnError` and `WebSocket.OnClose`.
The `WebSocketService.Send (data)` method sends a data to the client of the current session to the WebSocket service.
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.
The `WebSocketService.Sessions.Broadcast (data)` method broadcasts a data to all clients of the WebSocket service.
The `WebSocketService.Sessions.Broadcast` method broadcasts a data to all clients of the WebSocket service.
#### Step 3 ####