goAway method

  1. @protected
void goAway(
  1. int code,
  2. String reason
)

Closes from this side with code, and the handler sees that close.

Implementation

@protected
void goAway(int code, String reason) {
  closeEvents(CloseReceived(code, reason));
  sendClose(code, reason);
}