| In our new ConfigurableFCMSender: https://github.com/aerogear/aerogear-unifiedpush-server/blob/1.1.x-dev/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/fcm/ConfigurableFCMSender.java we can do something like:
if (proxySettng) { |
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(this.getProxyHost(), this.getProxyPort())); |
HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection(proxy); |
} |
|
|