Table of Contents

Class UpStreamProxyAction

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

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

host string
port int

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

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

List<string>

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

Host

public string Host { get; set; }

Property Value

string

Port

public int Port { get; set; }

Property Value

int

ProxyAuthorizationHeader

public string? ProxyAuthorizationHeader { get; set; }

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