2 writes to Scheme
Microsoft.AspNetCore.HttpOverrides (2)
ForwardedHeadersMiddleware.cs (2)
195
set.
Scheme
= forwardedProto[forwardedProto.Length - i - 1];
264
currentValues.
Scheme
= set.Scheme;
5 references to Scheme
Microsoft.AspNetCore.HttpOverrides (5)
ForwardedHeadersMiddleware.cs (5)
261
if (!string.IsNullOrEmpty(set.
Scheme
) && set.
Scheme
.AsSpan().IndexOfAnyExcept(SchemeChars) < 0)
264
currentValues.Scheme = set.
Scheme
;
327
if (checkProto && currentValues.
Scheme
!= null)
342
request.Scheme = currentValues.
Scheme
;