public override AsyncClientStreamingCall<TRequest, TResponse> AsyncClientStreamingCall<TRequest, TResponse>(Method<TRequest, TResponse> method, string host, CallOptions options) where TRequest : class where TResponse : class
Invokes a client streaming call asynchronously.
In client streaming scenario, client sends a stream of requests and server responds with a single response.
public override AsyncDuplexStreamingCall<TRequest, TResponse> AsyncDuplexStreamingCall<TRequest, TResponse>(Method<TRequest, TResponse> method, string host, CallOptions options) where TRequest : class where TResponse : class
Invokes a duplex streaming call asynchronously.
In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses.
The response stream is completely independent and both side can be sending messages at the same time.
public override AsyncServerStreamingCall<TResponse> AsyncServerStreamingCall<TRequest, TResponse>(Method<TRequest, TResponse> method, string host, CallOptions options, TRequest request) where TRequest : class where TResponse : class
Invokes a server streaming call asynchronously.
In server streaming scenario, client sends on request and server responds with a stream of responses.
public override AsyncUnaryCall<TResponse> AsyncUnaryCall<TRequest, TResponse>(Method<TRequest, TResponse> method, string host, CallOptions options, TRequest request) where TRequest : class where TResponse : class
public override TResponse BlockingUnaryCall<TRequest, TResponse>(Method<TRequest, TResponse> method, string host, CallOptions options, TRequest request) where TRequest : class where TResponse : class
Invokes a simple remote call in a blocking fashion.
Shuts down the all channels in the underlying channel pool cleanly. It is strongly
recommended to shutdown all previously created channels before exiting from the process.
[[["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\u003eGcpCallInvoker is a call invoker that can distribute calls across multiple underlying channels based on request properties.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eCallInvoker\u003c/code\u003e and supports various call types, including unary, client streaming, server streaming, and duplex streaming.\u003c/p\u003e\n"],["\u003cp\u003eIt has a constructor that requires parameters like \u003ccode\u003eServiceMetadata\u003c/code\u003e, \u003ccode\u003etarget\u003c/code\u003e, \u003ccode\u003eChannelCredentials\u003c/code\u003e, \u003ccode\u003eGrpcChannelOptions\u003c/code\u003e, \u003ccode\u003eApiConfig\u003c/code\u003e, and \u003ccode\u003eGrpcAdapter\u003c/code\u003e to initialize a new instance.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods to invoke different types of calls, both asynchronously and in a blocking fashion, with appropriate parameters for each call type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShutdownAsync()\u003c/code\u003e method is used to shut down all channels in the underlying channel pool in order to prevent leakage before exiting the process.\u003c/p\u003e\n"]]],[],null,[]]