recv method

Next response; throws EndOfStreamError at end.

Implementation

Future<GenericMessage> recv() async {
  final resp = _BoundMessage(_output, GenericMessage(_output), _file);
  await _stream.recv(resp);
  return resp.generic;
}