Table of Contents

Class HasSetCookieOnResponseFilter

Namespace
Fluxzy.Rules.Filters.RequestFilters
Assembly
Fluxzy.Core.dll
[FilterMetaData(null, LongDescription = "Search for a cookie value present in a `set-cookie` header response.If cookie name is not defined or empty, the filter will returns any cookie having the value.")]
public class HasSetCookieOnResponseFilter : StringFilter
Inheritance
HasSetCookieOnResponseFilter
Inherited Members
Extension Methods

Constructors

HasSetCookieOnResponseFilter(string)

public HasSetCookieOnResponseFilter(string pattern)

Parameters

pattern string

Properties

AutoGeneratedName

public override string AutoGeneratedName { get; }

Property Value

string

FilterScope

public override FilterScope FilterScope { get; }

Property Value

FilterScope

GenericName

public override string GenericName { get; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

ShortName

public override string ShortName { get; }

Property Value

string

Methods

Apply(ExchangeContext?, IAuthority, IExchange?, IFilteringContext?)

public override bool Apply(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange, IFilteringContext? filteringContext)

Parameters

exchangeContext ExchangeContext
authority IAuthority
exchange IExchange
filteringContext IFilteringContext

Returns

bool

GetExamples()

public override IEnumerable<FilterExample> GetExamples()

Returns

IEnumerable<FilterExample>

GetMatchInputs(ExchangeContext?, IAuthority, IExchange?)

protected override IEnumerable<string> GetMatchInputs(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange)

Parameters

exchangeContext ExchangeContext
authority IAuthority
exchange IExchange

Returns

IEnumerable<string>