onWsClosing method

  1. @override
void onWsClosing(
  1. int code,
  2. String reason
)
override

Invoked when the remote peer has indicated that no more incoming messages will be transmitted. All resources like WebSocketConnection should be released after this.

Implementation

@override
void onWsClosing(int code, String reason) {
  _onWsClosing(code, reason);
}