Class SetRequestCookieAction
- Namespace
- Fluxzy.Rules.Actions.HighLevelActions
- Assembly
- Fluxzy.Core.dll
Add a cookie to request. If a cookie with the same name already exists, it will be removed.
[ActionMetadata("Add a cookie to request. This action is performed by adding/replacing `Cookie` header in request.")]
public class SetRequestCookieAction : Action
- Inheritance
-
SetRequestCookieAction
- Inherited Members
Constructors
SetRequestCookieAction(string, string)
public SetRequestCookieAction(string name, string value)
Parameters
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Name
public string Name { get; set; }
Property Value
Value
public string Value { get; set; }
Property Value
Methods
GetExamples()
public override IEnumerable<ActionExample> GetExamples()
Returns
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
context
ExchangeContextexchange
Exchangeconnection
Connectionscope
FilterScopebreakPointManager
BreakPointManager