List of usage examples for io.vertx.core.net ProxyType HTTP
ProxyType HTTP
To view the source code for io.vertx.core.net ProxyType HTTP.
Click Source Link
From source file:examples.HTTPExamples.java
License:Open Source License
public void example58(Vertx vertx) { HttpClientOptions options = new HttpClientOptions() .setProxyOptions(new ProxyOptions().setType(ProxyType.HTTP).setHost("localhost").setPort(3128) .setUsername("username").setPassword("secret")); HttpClient client = vertx.createHttpClient(options); }