Fix a few

This commit is contained in:
sta 2014-01-20 17:13:27 +09:00
parent 5c700a792e
commit 26f7e2ad33

View File

@ -131,7 +131,7 @@ ws.OnMessage += (sender, e) => {
If `e.Type` is `Opcode.TEXT`, you should use `e.Data` (its type is `string`) that represents the received **Text** message.
If `e.Type` is `Opcode.BINARY`, you should use `e.RawData` (its type is `byte []`) that represents the received **Binary** message.
Or if `e.Type` is `Opcode.BINARY`, you should use `e.RawData` (its type is `byte []`) that represents the received **Binary** message.
```cs
if (e.Type == Opcode.TEXT) {