[Modify] Polish it

This commit is contained in:
sta 2015-12-01 16:02:20 +09:00
parent b6bf45c019
commit a636653d38

View File

@ -138,7 +138,9 @@ ws.OnMessage += (sender, e) => {
`e` has passed as a `WebSocketSharp.MessageEventArgs`. `e` has passed as a `WebSocketSharp.MessageEventArgs`.
If you would like to get the message data, you should access `e.Data` or `e.RawData` property. And you can determine which property you should access by checking `e.IsText` or `e.IsBinary` property. If you would like to get the message data, you should access `e.Data` or `e.RawData` property.
And you can determine which property you should access by checking `e.IsText` or `e.IsBinary` property.
If `e.IsText` is `true`, you should access `e.Data` that returns a `string` (represents a **text** message). If `e.IsText` is `true`, you should access `e.Data` that returns a `string` (represents a **text** message).
@ -648,7 +650,7 @@ And Example1 uses **[Json.NET]**.
**[Example3]** starts an HTTP server that allows to accept the WebSocket connection requests. **[Example3]** starts an HTTP server that allows to accept the WebSocket connection requests.
Would you access to [http://localhost:4649](http://localhost:4649) to do **WebSocket Echo Test** with your web browser after Example3 running? Would you access to [http://localhost:4649](http://localhost:4649) to do **WebSocket Echo Test** with your web browser while Example3 is running?
## Supported WebSocket Specifications ## ## Supported WebSocket Specifications ##