public delegate Task<TResponse> UnaryServerMethod<TRequest, TResponse>(TRequest request, ServerCallContext context)
where TRequest : class where TResponse : class;
[[["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-09-04 UTC."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eUnaryServerMethod\u003c/code\u003e delegate for handling unary calls on the server-side within the gRPC framework, specifically version 2.48.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnaryServerMethod\u003c/code\u003e delegate requires two parameters: a \u003ccode\u003erequest\u003c/code\u003e of type \u003ccode\u003eTRequest\u003c/code\u003e and a \u003ccode\u003econtext\u003c/code\u003e of type \u003ccode\u003eServerCallContext\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe delegate's return type is a \u003ccode\u003eTask<TResponse>\u003c/code\u003e, indicating it handles asynchronous operations and provides a response of type \u003ccode\u003eTResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTRequest\u003c/code\u003e and \u003ccode\u003eTResponse\u003c/code\u003e type parameters represent the request and response message types, respectively, and are both expected to be class types.\u003c/p\u003e\n"],["\u003cp\u003eThe documented code can be found within the Grpc.Core namespace, and is a part of the Grpc.Core.Api.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]