Class HeaderObfuscator
Methods | ||
---|---|---|
public
|
__construct()
|
# |
public
|
obfuscateHeaders(string[] $headers): string[]
|
# |
protected
|
obfuscateHeaderValue(string $key, array|string $value): array|string
|
# |
protected
|
replaceHeaderValueWithFixedNumberOfCharacters(array|string $value, int $numberOfCharacters): array|string
|
# |
protected
|
replaceHeaderValueWithCustomRule(array|string $value, callable $customRule): array|string
|
# |
public
|
setCustomRule(string $headerName, callable $customRule)
|
# |
Properties | |||
---|---|---|---|
protected
|
ValueObfuscator
|
$valueObfuscator
|
# |