Class GlobalFilters
Sets of header and parameter names to filter out of response hashing and serialization. Used to prevent ephemeral values types from changing the hashed name of a response and to prevent sensitive information like api keys or auth tokens from being stored.
Inherited Members
Namespace: FakeHttp
Assembly: FakeHttp.dll
Syntax
public static class GlobalFilters
Properties
| Improve this Doc View SourceHeaderNames
A list of names that will prevent specific headers from being serialized
Declaration
public static HashSet<string> HeaderNames { get; }
Property Value
Type | Description |
---|---|
HashSet<String> |
ParameterNames
A list of parameter names that will prevent them from being being serialized or included as part of responses' hashed names
Declaration
public static HashSet<string> ParameterNames { get; }
Property Value
Type | Description |
---|---|
HashSet<String> |
SensitiveHeaderNames
A list of names that represent senstive data and will prevent specific headers from being serialized
Declaration
public static HashSet<string> SensitiveHeaderNames { get; }
Property Value
Type | Description |
---|---|
HashSet<String> |
SensitiveParameterNames
A list of parameter names that represent senstive data and will prevent them from being being serialized or included as part of responses' hashed names
Declaration
public static HashSet<string> SensitiveParameterNames { get; }
Property Value
Type | Description |
---|---|
HashSet<String> |