onWebSocketDisconnect abstract method

  1. @protected
void onWebSocketDisconnect([
  1. int? code,
  2. String? reason
])

Called when the web socket closes.

Implementation

@protected
void onWebSocketDisconnect([final int? code, final String? reason]);