Table of Contents

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

name string
value string

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Value

public string Value { get; set; }

Property Value

string

Methods

GetExamples()

public override IEnumerable<ActionExample> GetExamples()

Returns

IEnumerable<ActionExample>

InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
scope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask