[Modify] Edit it
This commit is contained in:
parent
dc1bfc2ce7
commit
0fb482eee2
@ -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.
|
If you would like to get the reason for the close, you should access `e.Code` or `e.Reason` property.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user