Property CaseSensitiveHeaders
CaseSensitiveHeaders
Gets or sets whether header names are matched case-sensitively in headers the client creates. (default: false)
public bool CaseSensitiveHeaders { get; init; }
Property Value
Remarks
Applies to received messages and to headers the client creates on your behalf, such as trace
context on publish. ADR-4 defines header operations as case-sensitive, but the default is kept
case-insensitive here so existing applications are not broken. Headers you construct yourself
opt in via NatsHeaders with caseSensitive: true.
TODO: next major version should make case-sensitive the default and reverse this option.