setProxy

fun setProxy(mode: String, server: String?): Boolean

Configures the proxy for this browser's request context. mode is one of CefriumBrowser.PROXY_*; server is "host:port" for fixed servers, the PAC URL for PROXY_PAC, ignored otherwise. Returns false if not applied.


fun setProxy(server: String): Boolean

Convenience: route through a fixed proxy "host:port".