YKSocketDelegate constructor

const YKSocketDelegate({
  1. void onConnectFail()?,
  2. void onConnectSuccess()?,
  3. void onError(
    1. String message
    )?,
  4. void onLog(
    1. String message
    )?,
  5. void onClose()?,
  6. void onReconnecting()?,
})

Implementation

const YKSocketDelegate({
  this.onConnectFail,
  this.onConnectSuccess,
  this.onError,
  this.onLog,
  this.onClose,
  this.onReconnecting,
});