Table of Contents

Class RejectAction

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

Reject the request with HTTP 403 Forbidden.

[ActionMetadata("Block the request and return HTTP 403 Forbidden response. Use this action to explicitly deny access to specific resources. This is a simple blocking action with no configuration required.")]
public class RejectAction : Action
Inheritance
RejectAction
Inherited Members

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

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