Modified a few for 'WebSocket.OnError Event'
This commit is contained in:
parent
86d1da1f1c
commit
b4e08fe43d
@ -170,9 +170,9 @@ ws.OnError += (sender, e) => {
|
||||
|
||||
`e` has passed as a `WebSocketSharp.ErrorEventArgs`.
|
||||
|
||||
`e.Message` property returns a `string` that represents the error message. So you should use it to get the error message.
|
||||
`e.Message` property returns a `string` that represents the error message.
|
||||
|
||||
And if the error is due to an exception, you can get a `System.Exception` instance that caused the error, by using `e.Exception` property.
|
||||
If the error is due to an exception, you can get a `System.Exception` instance that caused the error, by using `e.Exception` property.
|
||||
|
||||
##### WebSocket.OnClose Event #####
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user