From b1df50bc32c0b9e9c47d35218a5b846c96adff05 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 27 Nov 2025 15:30:54 +0100 Subject: [PATCH] Enhance RecActionDto with HTTP and query handling Added new properties to `RecActionDto`: - `Headers` to store HTTP headers as a dictionary. - `BodyQuery` to represent a query related to the body. - `Body` to store the body content. - `PostprocessingQuery` to represent a query for postprocessing. These changes improve the class's ability to handle HTTP requests and related operations, providing greater flexibility for preprocessing and postprocessing tasks. --- src/ReC.Application/Common/Dto/RecActionDto.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ReC.Application/Common/Dto/RecActionDto.cs b/src/ReC.Application/Common/Dto/RecActionDto.cs index dab3718..f636510 100644 --- a/src/ReC.Application/Common/Dto/RecActionDto.cs +++ b/src/ReC.Application/Common/Dto/RecActionDto.cs @@ -54,8 +54,12 @@ public record RecActionDto public string? HeaderQuery { get; init; } + public Dictionary? Headers { get; set; } + public string? BodyQuery { get; init; } + public string? Body { get; set; } + public string? PostprocessingQuery { get; init; } public UriBuilder ToEndpointUriBuilder()