Table of Contents

Class SetResponseCookieAction

Namespace
Fluxzy.Rules.Actions.HighLevelActions
Assembly
Fluxzy.Core.dll

Add a response cookie. This action is performed by adding Set-Cookie header in response.

[ActionMetadata("Add a response cookie. This action is performed by adding `Set-Cookie` header in response.")]
public class SetResponseCookieAction : Action
Inheritance
SetResponseCookieAction
Inherited Members

Constructors

SetResponseCookieAction(string, string)

public SetResponseCookieAction(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

Domain

public string? Domain { get; set; }

Property Value

string

ExpireInSeconds

public int? ExpireInSeconds { get; set; }

Property Value

int?

HttpOnly

public bool HttpOnly { get; set; }

Property Value

bool

MaxAge

public int? MaxAge { get; set; }

Property Value

int?

Name

public string Name { get; set; }

Property Value

string

Path

public string? Path { get; set; }

Property Value

string

SameSite

public string? SameSite { get; set; }

Property Value

string

Secure

public bool Secure { get; set; }

Property Value

bool

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