use of io.vertx.ext.web.client.WebClient in project vertx-web by vert-x3.
the class WebClientExamples method createFromOptions.
public void createFromOptions(Vertx vertx) {
WebClientOptions options = new WebClientOptions().setUserAgent("My-App/1.2.3");
options.setKeepAlive(false);
WebClient client = WebClient.create(vertx, options);
}
Aggregations