request/src/request.dispatcher/IStreamRequest.cs

14 lines
536 B
C#
Raw Normal View History

// Copyright (c) The Geekeey Authors
// SPDX-License-Identifier: EUPL-1.2
namespace Geekeey.Request.Dispatcher;
/// <summary>
/// Represents a request that produces a response of a specified type.
/// This interface serves as a marker for distinguishing request types,
/// enabling their integration into request-based pipelines or dispatch mechanisms.
/// </summary>
/// <typeparam name="TResponse">The type of the response produced by the implementing request handler.</typeparam>
public interface IStreamRequest<out TResponse>
{
}