Class ChangeRequestPathAction
Change request uri path. This action alters only the path of the request. Please refer to TODO : need an action that redirects the full path
[ActionMetadata("Change request uri path. This action alters only the path of the request. Request path includes query string.")]
public class ChangeRequestPathAction : Action
- Inheritance
-
ChangeRequestPathAction
- Inherited Members
Constructors
ChangeRequestPathAction(string)
public ChangeRequestPathAction(string newPath)
Parameters
newPath
string
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
NewPath
public string NewPath { 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