Reply To: IOBoard on close event

About Forums Forum Suggestions IOBoard on close event Reply To: IOBoard on close event

#623

No problem. I’ll add this in the next release. You could get access to the websocket close event now like this.

ioBoardInstance.getSocket().addEventListener(WSocketEvent.CLOSE, doSomethingOnDisconnect);

But I’ll add a IOBoardEvent.DISCONNECTED event which will be more convenient.