public delegate TResponse Interceptor.BlockingUnaryCallContinuation<TRequest, TResponse>(TRequest request, ClientInterceptorContext<TRequest, TResponse> context) where TRequest : class where TResponse : class
Represents a continuation for intercepting simple blocking invocations.
A delegate of this type is passed to the BlockingUnaryCall method
when an outgoing invocation is being intercepted and calling the
delegate will invoke the next interceptor in the chain, or the underlying
call invoker if called from the last interceptor. The interceptor is
allowed to call it zero, one, or multiple times, passing it the appropriate
context and request values as it sees fit.
The response value of the invocation to return to the caller.
The interceptor can choose to return the return value of the
continuation delegate or an arbitrary value as it sees fit.
[[["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 content details the \u003ccode\u003eBlockingUnaryCallContinuation\u003c/code\u003e delegate, which is used to intercept simple blocking invocations within the gRPC framework.\u003c/p\u003e\n"],["\u003cp\u003eThe delegate is defined as \u003ccode\u003epublic delegate TResponse Interceptor.BlockingUnaryCallContinuation<TRequest, TResponse>(TRequest request, ClientInterceptorContext<TRequest, TResponse> context)\u003c/code\u003e where \u003ccode\u003eTRequest\u003c/code\u003e and \u003ccode\u003eTResponse\u003c/code\u003e are generic types representing the request and response messages.\u003c/p\u003e\n"],["\u003cp\u003eInterceptors can use this delegate to modify the request, response, or the invocation process by calling it zero, one, or multiple times with updated values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBlockingUnaryCallContinuation\u003c/code\u003e delegate is part of the \u003ccode\u003eGrpc.Core.Interceptors\u003c/code\u003e namespace, located within the \u003ccode\u003eGrpc.Core.Api.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erequest\u003c/code\u003e parameter is the request value, and the \u003ccode\u003econtext\u003c/code\u003e parameter is the \u003ccode\u003eClientInterceptorContext\u003c/code\u003e for passing to the next step in the invocation process, and the delegate returns a \u003ccode\u003eTResponse\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]