close method

void close()

Implementation

void close() {
  logger('close');
  _lastPongFromServer = null;
  wsClose();
}