Microsoft.Extensions.Http.Logging.HttpHeadersLogValue
sealed class HttpHeadersLogValue : IReadOnlyList<KeyValuePair<string, object>>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
namespace Microsoft.Extensions.Http.Logging
{
internal sealed class HttpHeadersLogValue : IReadOnlyList<KeyValuePair<string, object>>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
{
public enum Kind
{
Request,
Response
}
public HttpHeaders Headers { get; }
public HttpHeaders ContentHeaders { get; }
[System.Runtime.CompilerServices.Nullable(new byte[] {
0,
1,
1
})]
public KeyValuePair<string, object> this[int index] {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
0,
1,
1
})]
get;
}
public int Count { get; }
public HttpHeadersLogValue(Kind kind, HttpHeaders headers, HttpHeaders contentHeaders, Func<string, bool> shouldRedactHeaderValue);
public IEnumerator<KeyValuePair<string, object>> GetEnumerator();
}
}