Skip to content

Commit 79d5f46

Browse files
committed
Fix build errors yarp/samsp
1 parent 0ef6595 commit 79d5f46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aspnetcore/fundamentals/servers/yarp/extensibility-transforms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: YARP Extensibility - Request and Response Transforms
44
description: YARP Extensibility - Request and Response Transforms
55
author: samsp-msft
66
ms.author: samsp
7-
ms.date: 2/13/2025
7+
ms.date: 2/14/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted
@@ -19,7 +19,7 @@ YARP includes a set of built-in request and response transforms that can be used
1919

2020
## RequestTransform
2121

22-
All request transforms must derive from the abstract base class [RequestTransform](xref:Yarp.ReverseProxy.Transforms.RequestTransform). These can freely modify the proxy `HttpRequestMessage`. Avoid reading or modifying the request body as this may disrupt the proxying flow. Consider also adding a parametrized extension method on `TransformBuilderContext` for discoverability and easy of use.
22+
All request transforms must derive from the abstract base class [RequestTransform](xref:fundamentals/servers/yarp/transforms). These can freely modify the proxy `HttpRequestMessage`. Avoid reading or modifying the request body as this may disrupt the proxying flow. Consider also adding a parametrized extension method on `TransformBuilderContext` for discoverability and easy of use.
2323

2424
A request transform may conditionally produce an immediate response such as for error conditions. This prevents any remaining transforms from running and the request from being proxied. This is indicated by setting the `HttpResponse.StatusCode` to a value other than 200, or calling `HttpResponse.StartAsync()`, or writing to the `HttpResponse.Body` or `BodyWriter`.
2525

0 commit comments

Comments
 (0)