startReading method

void startReading()

Starts reading frames from the client

Implementation

void startReading() {
  _readFrames().catchError((e) {
    _logger.warning('Error reading frames from ${peerId}: $e');
    setState(StompServerConnectionState.error);
  });
}