afButter::ProxyMiddleware : afButter::ButterMiddleware

(Middleware) - Sets a proxy for HTTP sockets to connect via.

Reuses the mechanism used by web::WebClient; that is, the proxy address should be configured in etc/web/config.props with the key proxy. Proxy exceptions are configured via the proxy.exceptions key as a comma separated list of Regex globs.

Sample config.props:

// Default proxy URL formatted as "http://{host}[:port]/"

// Proxy exceptions as comma separated list of Regex globs

For more automated and advanced proxy setting, including Proxy Auto-Config (PAC) files, see the article Butter Proxies.