Table of Contents

Class CaptureSessionAction

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

Captures session data (cookies, headers) from HTTP responses and stores them for later replay. Session data is stored per domain.

[ActionMetadata("Capture session data from responses. Captures Set-Cookie headers and optionally other headers like Authorization. Stored data can be replayed using ApplySessionAction.")]
public class CaptureSessionAction : Action
Inheritance
CaptureSessionAction
Inherited Members

Constructors

CaptureSessionAction()

public CaptureSessionAction()

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

CaptureCookies

Whether to capture cookies from Set-Cookie response headers. Default is true.

public bool CaptureCookies { get; set; }

Property Value

bool

CaptureHeaders

List of response header names to capture (e.g., "Authorization", "X-Auth-Token"). These headers will be stored and can be replayed on subsequent requests.

public List<string> CaptureHeaders { get; set; }

Property Value

List<string>

DefaultDescription

public override string DefaultDescription { get; }

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