onResponse

abstract fun onResponse(connect: ConnectState?)

Callback method for connection state

Parameters

connect

The current connection state