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