Modified 'WebSocket.OnError Event'
This commit is contained in:
parent
88747db6fa
commit
11b26040b8
@ -172,6 +172,8 @@ ws.OnError += (sender, e) => {
|
||||
|
||||
`e.Message` property returns a `string` that represents the error message. So you should use it to get the error message.
|
||||
|
||||
And if the error is due to an exception, you can get the `System.Exception` instance that caused the error, by using `e.Exception` property.
|
||||
|
||||
##### WebSocket.OnClose Event #####
|
||||
|
||||
A `WebSocket.OnClose` event occurs when the WebSocket connection has been closed.
|
||||
|
Loading…
Reference in New Issue
Block a user