Which event handler gets fired after server closes the connection?

218 Views Asked by At

I'm using websocket-sharp to manage web sockets. In an instance, I implement four event handlers, onOpen, onMessage, onError and onClose. What I need to know is when the web socket connection gets closed by server and which event handlers gets fired. Since I'm not the owner of the streaming server I cannot brute close the connection and test in live. But if for some reason the server does close the connection, will the onError fire? onClose? Neither?

0

There are 0 best solutions below