public virtual AsyncServerStreamingCall<TResponse> GrpcCall { get; }
The underlying gRPC duplex streaming call.
Property Value
Type
Description
AsyncServerStreamingCall<TResponse>
Methods
GetResponseStream()
public virtual AsyncResponseStream<TResponse> GetResponseStream()
Async stream to read streaming responses, exposed as an async sequence.
The default implementation will use GrpcCall to extract a response
stream, and adapt it to AsyncResponseStream<TResponse>.
If this method is called more than once, all the returned enumerators will be enumerating over the
same underlying response stream, which may cause confusion. Additionally, the sequence returned by
this method can only be iterated over a single time. Attempting to iterate more than once will cause
an InvalidOperationException.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This document outlines the `ServerStreamingBase\u003cTResponse\u003e` class, which serves as a base for server streaming RPC methods within the Google.Api.Gax.Grpc namespace."],["The class inherits from the standard Object class and exposes members like `ToString()`, `Equals()`, and `GetHashCode()`."],["`ServerStreamingBase\u003cTResponse\u003e` features a `GrpcCall` property that provides access to the underlying gRPC duplex streaming call of the `AsyncServerStreamingCall\u003cTResponse\u003e` type."],["The `GetResponseStream()` method returns an asynchronous stream (`AsyncResponseStream\u003cTResponse\u003e`) for reading streaming responses, but it is crucial to understand that multiple calls to this method yield iterators over the same stream, and attempting to iterate over the sequence returned more than once will throw an `InvalidOperationException`."],["The `TResponse` type parameter is used to define the RPC streaming response type within the `ServerStreamingBase\u003cTResponse\u003e` class."]]],[]]