shouldRedactHeaderValue property

bool Function(String)? shouldRedactHeaderValue
final

A function that determines whether to redact a header value.

If this function returns true for a header name, the header value will be replaced with "REDACTED" in logs.

Implementation

final bool Function(String)? shouldRedactHeaderValue;