Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This setting ideally should be at a pool level, because different pools may need to use different proxies.

To make it as easy as possible for users to extend our proxy implementation logic or implement their own, we will introduce a more general pool setting which will allow the users to override the creation of client server sockets with a custom SocketFactory. We will provide an implementation of this SocketFactory that will connect their client to an SNI proxy.

The way to configure the SNI proxy will therefore look something like this:

Code Block
poolFactory.setSocketFactory(Proxies.sni("proxyHostname", 443));


Below are the details on the new methods and interfaces added to the API to support this

Modified classes:

...