core / pragma.http / SensitiveValues /

SensitiveValues #

class SensitiveValues(values: Map<String, String>)

Secrets an outbound request carries, keyed by a label. redact replaces each value, raw or URL-encoded, with <<label>>. Only declared values are matched, so a caller that sends a secret must declare it on the request.

Constructors #

SensitiveValues

fun SensitiveValues(values: Map<String, String>)