34 references to Configure
Aspire.Hosting.Yarp (34)
ConfigurationBuilder\Transforms\ForwardedTransformExtensions.cs (3)
27
route.
Configure
(r => r.WithTransformXForwarded(headerPrefix, xDefault, xFor, xHost, xProto, xPrefix));
38
route.
Configure
(r => r.WithTransformForwarded(useHost, useProto, forFormat, byFormat, action));
48
route.
Configure
(r => r.WithTransformClientCertHeader(headerName));
ConfigurationBuilder\Transforms\HttpMethodTransformExtensions.cs (1)
20
route.
Configure
(r => r.WithTransformHttpMethodChange(fromHttpMethod, toHttpMethod));
ConfigurationBuilder\Transforms\PathTransformExtensions.cs (4)
28
route.
Configure
(r => r.WithTransformPathSet(path));
60
route.
Configure
(r => r.WithTransformPathPrefix(prefix));
92
route.
Configure
(r => r.WithTransformPathRemovePrefix(prefix));
124
route.
Configure
(r => r.WithTransformPathRouteValues(pattern));
ConfigurationBuilder\Transforms\QueryTransformExtensions.cs (3)
20
route.
Configure
(r => r.WithTransformQueryValue(queryKey, value, append));
30
route.
Configure
(r => r.WithTransformQueryRouteValue(queryKey, routeValueKey, append));
40
route.
Configure
(r => r.WithTransformQueryRemoveKey(queryKey));
ConfigurationBuilder\Transforms\RequestHeadersTransformExtensions.cs (6)
19
route.
Configure
(r => r.WithTransformCopyRequestHeaders(copy));
29
route.
Configure
(r => r.WithTransformUseOriginalHostHeader(useOriginal));
39
route.
Configure
(r => r.WithTransformRequestHeader(headerName, value, append));
49
route.
Configure
(r => r.WithTransformRequestHeaderRouteValue(headerName, routeValueKey, append));
59
route.
Configure
(r => r.WithTransformRequestHeaderRemove(headerName));
70
route.
Configure
(r => r.WithTransformRequestHeadersAllowed(allowedHeaders));
ConfigurationBuilder\Transforms\ResponseTransformExtensions.cs (8)
19
route.
Configure
(r => r.WithTransformCopyResponseHeaders(copy));
29
route.
Configure
(r => r.WithTransformCopyResponseTrailers(copy));
39
route.
Configure
(r => r.WithTransformResponseHeader(headerName, value, append, condition));
49
route.
Configure
(r => r.WithTransformResponseHeaderRemove(headerName, condition));
60
route.
Configure
(r => r.WithTransformResponseHeadersAllowed(allowedHeaders));
70
route.
Configure
(r => r.WithTransformResponseTrailer(headerName, value, append, condition));
80
route.
Configure
(r => r.WithTransformResponseTrailerRemove(headerName, condition));
91
route.
Configure
(r => r.WithTransformResponseTrailersAllowed(allowedHeaders));
ConfigurationBuilder\YarpRoute.cs (9)
50
route.
Configure
(r => r with { Match = match });
62
route.
Configure
(r => r with { Match = ToRouteMatch(match) });
70
route.
Configure
(r => r with { Match = match(r.Match) });
159
route.
Configure
(r => r with { Order = order });
169
route.
Configure
(r => r with { MaxRequestBodySize = maxRequestBodySize });
179
route.
Configure
(r => r with { Metadata = metadata });
189
route.
Configure
(r => r with { Transforms = transforms });
202
route.
Configure
(r =>
220
route.
Configure
(r =>