18 references to DefaultHeaderEncodingSelector
Microsoft.AspNetCore.Server.Kestrel.Core (18)
Internal\Http\HttpHeaders.cs (1)
279var requireAscii = ReferenceEquals(encodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
Internal\Http\HttpHeaders.Generated.cs (4)
7781var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector) 7990var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector) 8159var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector) 15169var encoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
Internal\Http\HttpRequestHeaders.cs (1)
27EncodingSelector = encodingSelector ?? KestrelServerOptions.DefaultHeaderEncodingSelector;
Internal\Http\HttpResponseHeaders.cs (2)
25EncodingSelector = encodingSelector ?? KestrelServerOptions.DefaultHeaderEncodingSelector; 47if (ReferenceEquals(encodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector))
Internal\Http\HttpResponseTrailers.cs (1)
18EncodingSelector = encodingSelector ?? KestrelServerOptions.DefaultHeaderEncodingSelector;
Internal\Http3\Http3HeadersEnumerator.cs (1)
27public Func<string, Encoding?> EncodingSelector { get; set; } = KestrelServerOptions.DefaultHeaderEncodingSelector;
Internal\Http3\QPackHeaderWriter.cs (1)
83var valueEncoding = ReferenceEquals(headersEnumerator.EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
Internal\Infrastructure\HttpUtilities.cs (1)
119if (ReferenceEquals(KestrelServerOptions.DefaultHeaderEncodingSelector, encodingSelector))
KestrelServerOptions.cs (4)
46private Func<string, Encoding?> _requestHeaderEncodingSelector = DefaultHeaderEncodingSelector; 48private Func<string, Encoding?> _responseHeaderEncodingSelector = DefaultHeaderEncodingSelector; 350writer.WriteString(nameof(RequestHeaderEncodingSelector), RequestHeaderEncodingSelector == DefaultHeaderEncodingSelector ? "default" : "configured"); 351writer.WriteString(nameof(ResponseHeaderEncodingSelector), ResponseHeaderEncodingSelector == DefaultHeaderEncodingSelector ? "default" : "configured");
src\Servers\Kestrel\shared\HPackHeaderWriter.cs (1)
127ReferenceEquals(headersEnumerator.EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
40public Func<string, Encoding?> EncodingSelector { get; set; } = KestrelServerOptions.DefaultHeaderEncodingSelector;