How to use WebSocket through proxy(with Auth) using NotificationHandler

Hi,

I checked below Topic.

Similarly, I want to connect to websockets through a proxy (with authentication) using the java SDK. However, the NotificationHandler class doesn't seem to support it.
my application use "platform-client-v2:134.0.0".

Regards,

Hi,

Please see this related dev forum forum post NotificationHandler suggestion. The information here may be able to help you.

Thanks,

Mike

Hi,

Thank you for the information.
However, I know how to set the proxy host (use withProxyHost(string)), but there is no mention of how to set the proxy authentication id, password.
In NotificationHandler, factory.getProxySettings().setServer(builder.proxyHost) is executed, but factory.getProxySettings().setCredentials("id","password") is not executed.
Doesn't NotificationHandler support websocket connections via authentication proxy? .
Please tell me how to set proxy authentication id and password in NotificationHandler.

Regards

Hi,

I request proxy connection authentication function of NotificationHandler.

Regards

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.