[Modify] Edit it

This commit is contained in:
sta 2016-09-28 14:37:08 +09:00
parent dc1bfc2ce7
commit 0fb482eee2

View File

@ -211,7 +211,7 @@ ws.OnClose += (sender, e) => {
};
```
`e` is passed as a `WebSocketSharp.CloseEventArgs` instance.
A `WebSocketSharp.CloseEventArgs` instance is passed as `e`.
If you would like to get the reason for the close, you should access `e.Code` or `e.Reason` property.