Class BowireReverseProxyHostOptions

Namespace
Kuestenlogik.Bowire.Interceptor
Assembly
Kuestenlogik.Bowire.Interceptor.dll

Construction-time configuration for BowireReverseProxyHost.

public sealed class BowireReverseProxyHostOptions
Inheritance
BowireReverseProxyHostOptions
Inherited Members

Constructors

BowireReverseProxyHostOptions()

public BowireReverseProxyHostOptions()

Properties

AllowSelfSignedUpstream

Accept the upstream's TLS cert without chain validation. Useful when fronting a dev-mode service with a self-signed cert; off by default.

public bool AllowSelfSignedUpstream { get; init; }

Property Value

bool

Capacity

Flow-store ring capacity. Default 1000.

public int Capacity { get; init; }

Property Value

int

ListenAddress

Edge listen address. Default Loopback.

public IPAddress ListenAddress { get; init; }

Property Value

IPAddress

ListenPort

Edge listen port. 0 lets the OS pick (test-friendly).

public int ListenPort { get; init; }

Property Value

int

MaxBodyBytes

Per-side body capture cap. Default 1 MiB.

public int MaxBodyBytes { get; init; }

Property Value

int

ServerCertificate

Optional TLS certificate to present on the edge. When set, the edge listener serves HTTPS — clients trust whatever CA signed this cert (typically Bowire's MITM CA, reusing #36's flow).

public X509Certificate2? ServerCertificate { get; init; }

Property Value

X509Certificate2

Store

Optional pre-built store to share (e.g. with a workbench host).

public InterceptedFlowStore? Store { get; init; }

Property Value

InterceptedFlowStore

Upstream

Upstream service the edge listener forwards to. Required.

public Uri? Upstream { get; init; }

Property Value

Uri

UpstreamTimeout

Upstream HTTP timeout. Default 100 s (HttpClient default).

public TimeSpan UpstreamTimeout { get; init; }

Property Value

TimeSpan