public abstract 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 abstract 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 abstract 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 abstract AsyncUnaryCall<TResponse> AsyncUnaryCall<TRequest, TResponse>(Method<TRequest, TResponse> method, string? host, CallOptions options, TRequest request) where TRequest : class where TResponse : class
public abstract 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.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCallInvoker\u003c/code\u003e class is an abstraction for client-side RPC invocation in the Grpc.Core namespace, found in the Grpc.Core.Api.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides abstract methods for invoking various types of asynchronous calls, including client streaming, duplex streaming, server streaming, and unary calls.\u003c/p\u003e\n"],["\u003cp\u003eIt also supports a blocking unary call method, \u003ccode\u003eBlockingUnaryCall\u003c/code\u003e, for synchronous remote calls.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCallInvoker\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and includes extension methods for intercepting calls, including the ability to modify metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe parameters for the different methods are \u003ccode\u003emethod\u003c/code\u003e, \u003ccode\u003ehost\u003c/code\u003e, \u003ccode\u003eoptions\u003c/code\u003e and \u003ccode\u003erequest\u003c/code\u003e, and they have different return types such as \u003ccode\u003eAsyncClientStreamingCall\u003c/code\u003e, \u003ccode\u003eAsyncDuplexStreamingCall\u003c/code\u003e, \u003ccode\u003eAsyncServerStreamingCall\u003c/code\u003e, \u003ccode\u003eAsyncUnaryCall\u003c/code\u003e or \u003ccode\u003eTResponse\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]