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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eServerStreamingBase<TResponse>\u003c/code\u003e class, which serves as a base for server streaming RPC methods within the Google.Api.Gax.Grpc namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the standard Object class and exposes members like \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eEquals()\u003c/code\u003e, and \u003ccode\u003eGetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServerStreamingBase<TResponse>\u003c/code\u003e features a \u003ccode\u003eGrpcCall\u003c/code\u003e property that provides access to the underlying gRPC duplex streaming call of the \u003ccode\u003eAsyncServerStreamingCall<TResponse>\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetResponseStream()\u003c/code\u003e method returns an asynchronous stream (\u003ccode\u003eAsyncResponseStream<TResponse>\u003c/code\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 \u003ccode\u003eInvalidOperationException\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTResponse\u003c/code\u003e type parameter is used to define the RPC streaming response type within the \u003ccode\u003eServerStreamingBase<TResponse>\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]