Class ChangeRequestMethodAction
Change the method of a request.
[ActionMetadata("Alter the method of an exchange.")]
public class ChangeRequestMethodAction : Action
- Inheritance
-
ChangeRequestMethodAction
- Inherited Members
Constructors
ChangeRequestMethodAction(string)
public ChangeRequestMethodAction(string newMethod)
Parameters
newMethod
string
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
NewMethod
Method name
public string NewMethod { 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