Expand description
Builder: converts a ProxyConfig into a live ConfigDrivenApp with
health checkers and L4/WS proxy threads.
Functions§
- build
- Build a
ConfigDrivenAppfrom aProxyConfigstruct. - build_
from_ file - Build a
ConfigDrivenAppfromrws.config.tomland spawn L4/WS proxy threads. Returns the app and a list of background thread handles. ProblemsProxyConfig::validatefinds are printed first (the same findingsrws --checkreports). The returned app reloads its routes when the configuration is reloaded (SIGHUP,POST /admin/config/reload) — seeConfigDrivenApp::reload_from_file.