TcpConnection.onError
Set the error callback.
Parameters
callback | Callback invoked on connection errors. Callback contract: fires before onClose. The connection should be closed after an error. Does not fire after dispose(). |
Set the error callback.
callback | Callback invoked on connection errors. Callback contract: fires before onClose. The connection should be closed after an error. Does not fire after dispose(). |