Class ForwardAction
[ActionMetadata("Forward request to a specific URL. This action makes fluxzy act as a reverse proxy. Unlike [SpoofDnsAction](https://www.fluxzy.io/rule/item/spoofDnsAction), host header is automatically set and protocol switch is supported (http to https, http/1.1 to h2, ...). The URL must be an absolute path.")]
public class ForwardAction : Action
- Inheritance
-
ForwardAction
- Inherited Members
Constructors
ForwardAction(string)
public ForwardAction(string url)
Parameters
url
string
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Url
public string Url { get; }
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