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
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Domain
public string? Domain { get; set; }
Property Value
ExpireInSeconds
public int? ExpireInSeconds { get; set; }
Property Value
- int?
HttpOnly
public bool HttpOnly { get; set; }
Property Value
MaxAge
public int? MaxAge { get; set; }
Property Value
- int?
Name
public string Name { get; set; }
Property Value
Path
public string? Path { get; set; }
Property Value
SameSite
public string? SameSite { get; set; }
Property Value
Secure
public bool Secure { 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