Class UpStreamProxyAction
Instruct fluxzy to use an upstream proxy.
[ActionMetadata("Use an upstream proxy.", NonDesktopAction = true)]
public class UpStreamProxyAction : Action
- Inheritance
-
UpStreamProxyAction
- Inherited Members
Constructors
UpStreamProxyAction(string, int)
public UpStreamProxyAction(string host, int port)
Parameters
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
ByPassHosts
Hosts that must bypass the upstream proxy and connect directly. Each entry matches the
request hostname (port excluded) as follows: bypasses every host, a bare entry
such as example.com matches that host and any of its subdomains, and an explicit
.example.com (or .example.com) matches the domain and its subdomains.
Matching is case-insensitive.
public List<string> ByPassHosts { get; set; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Host
public string Host { get; set; }
Property Value
Port
public int Port { get; set; }
Property Value
ProxyAuthorizationHeader
public string? ProxyAuthorizationHeader { 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
contextExchangeContextexchangeExchangeconnectionConnectionscopeFilterScopebreakPointManagerBreakPointManager