clientStreamCall method
Send all requests, then decode the one response into resp.
Implementation
Future<void> clientStreamCall(String path, List<Marshaler> reqs,
Unmarshaler resp,
{Map<String, String>? metadata, Duration? timeout}) async {
final stream = await _open(path, metadata, timeout: timeout);
try {
_sendAll(stream, reqs);
await _collectOne(stream, resp, 'client-streaming call');
} finally {
endpoint.closeStream(stream.streamId);
}
}