WsConfig constructor

WsConfig({
  1. void onMessage(
    1. WsMsgClient
    )?,
  2. void onConnect()?,
  3. void onReconnect(
    1. Object error
    )?,
  4. bool keepAlive = false,
})

Implementation

WsConfig({
  this.onMessage,
  this.onConnect,
  this.onReconnect,
  this.keepAlive = false,
});