Version 0.24.0 of Bee Client is now available. This brings one API change.
Config
now has a proxy field that is optional. The old apply
signature is still available as a deprecated factory method, but you should upgrade your code to use the optionality. The meaning of the proxy field is thus:
- when some proxy is supplied, this is used for all requests made using this configuration
- when
None
is supplied, the standard JVM DefaultProxySelector operates and this means that the standard command-line flags are used - when
Some(Proxy.NO_PROXY)
is supplied, there is no proxying and the command-line flags are ignored; this is the default.
More information: Making proxied requests