What is the syntax to create proxy host and proxy port?

What is the syntax to create proxy host and proxy port?

Hi Junior,

Here is the below syntax you can use to create proxy host and proxy port:

Proxy proxy = new Proxy(); proxy.setHttpProxy("<HOST:PORT>");