From 0fb482eee2bb80f4bcef50c81e1b76834f22e0eb Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 28 Sep 2016 14:37:08 +0900 Subject: [PATCH] [Modify] Edit it --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb28df2b..da1b3411 100644 --- a/README.md +++ b/README.md @@ -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.