mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-22 15:54:08 +00:00
added doc for https proxy options
Signed-off-by: alexlehm <alexlehm@gmail.com>
This commit is contained in:
@@ -686,6 +686,14 @@ public class HTTPExamples {
|
||||
|
||||
}
|
||||
|
||||
public void example58(Vertx vertx) {
|
||||
|
||||
HttpClientOptions options = new HttpClientOptions().setProxyHost("localhost").setProxyPort(3128);
|
||||
options.setProxyUsername("username").setProxyPassword("secret");
|
||||
HttpClient client = vertx.createHttpClient(options);
|
||||
|
||||
}
|
||||
|
||||
public void serversharing(Vertx vertx) {
|
||||
vertx.createHttpServer().requestHandler(request -> {
|
||||
request.response().end("Hello from server " + this);
|
||||
|
||||
Reference in New Issue
Block a user