Show / Hide Table of Contents

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.

Inheritance
Object
GlobalFilters
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: FakeHttp
Assembly: FakeHttp.dll
Syntax
public static class GlobalFilters

Properties

| Improve this Doc View Source

HeaderNames

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX