public delegate Task DuplexStreamingServerMethod<TRequest, TResponse>(IAsyncStreamReader<TRequest> requestStream, IServerStreamWriter<TResponse> responseStream, 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-05-30 UTC."],[[["This page documents the `DuplexStreamingServerMethod` delegate, which is a server-side handler for bidirectional streaming calls in gRPC."],["It is defined as `public delegate Task DuplexStreamingServerMethod\u003cTRequest, TResponse\u003e(IAsyncStreamReader\u003cTRequest\u003e requestStream, IServerStreamWriter\u003cTResponse\u003e responseStream, ServerCallContext context) where TRequest : class where TResponse : class`."],["The method's parameters include `requestStream` (an `IAsyncStreamReader`), `responseStream` (an `IServerStreamWriter`), and `context` (a `ServerCallContext`)."],["The method returns a `Task`, indicating an asynchronous operation."],["`TRequest` and `TResponse` are type parameters representing the request and response message types respectively."]]],[]]