Modified a few for 'WebSocket.OnClose Event'

This commit is contained in:
sta 2014-11-29 14:22:47 +09:00
parent f18bc58b06
commit e7bb146394

View File

@ -186,7 +186,7 @@ ws.OnClose += (sender, e) => {
`e` has passed as a `WebSocketSharp.CloseEventArgs`. `e` has passed as a `WebSocketSharp.CloseEventArgs`.
`e.Code` property returns a `ushort` that represents the status code indicating the reason for the close, and `e.Reason` property returns a `string` that represents the reason for the close. So you should use them to get the reason for the close. `e.Code` property returns a `ushort` that represents the status code indicating the reason for the close, and `e.Reason` property returns a `string` that represents the reason for the close.
#### Step 4 #### #### Step 4 ####