Skip to main content

Module config

Module config 

Source
Expand description

Configuration logic for onion service reverse proxy.

Structsยง

ProxyActionDiscriminantsIter ๐Ÿ”’
An iterator over the variants of ProxyActionDiscriminants
ProxyConfig
Configuration for a reverse proxy running for one onion service.
ProxyConfigBuilder
A builder to create an instance of ProxyConfig.
ProxyPattern
A set of ports to use when checking how to handle a port.
ProxyRule
A single rule in a ProxyConfig.
ProxyRuleListBuilder
Builder for the Vec<ProxyRule> type.

Enumsยง

Encapsulation
The method by which we encapsulate a forwarded request.
ProxyAction
An action to take upon receiving an incoming request.
ProxyActionDiscriminants ๐Ÿ”’
Auto-generated discriminant enum variants
ProxyConfigError
An error encountered while parsing or applying a proxy configuration.
ProxyPatternAsEnum ๐Ÿ”’
Representation for a ProxyPattern. Used while deserializing.
TargetAddr
The address to which we forward an accepted connection.

Type Aliasesยง

ProxyRuleAsTuple ๐Ÿ”’
Helper type used to (de)serialize ProxyRule.