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\u003e\u003ccode\u003eUnaryServerMethod\u003c/code\u003e is a server-side handler for unary calls within the \u003ccode\u003eGrpc.Core\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eIt's a delegate method that accepts a request of type \u003ccode\u003eTRequest\u003c/code\u003e and a \u003ccode\u003eServerCallContext\u003c/code\u003e, and returns a \u003ccode\u003eTask\u003c/code\u003e of type \u003ccode\u003eTResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe method has type parameters \u003ccode\u003eTRequest\u003c/code\u003e and \u003ccode\u003eTResponse\u003c/code\u003e, which represent the request and response message types, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erequest\u003c/code\u003e and \u003ccode\u003econtext\u003c/code\u003e are the parameters passed to the \u003ccode\u003eUnaryServerMethod\u003c/code\u003e for handling an individual request.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Grpc.core is \u003ccode\u003e2.66.0\u003c/code\u003e and is also available for versions \u003ccode\u003e2.63.0\u003c/code\u003e and \u003ccode\u003e2.48.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]