Example usage for io.vertx.core.http HttpConnection updateSettings

List of usage examples for io.vertx.core.http HttpConnection updateSettings

Introduction

In this page you can find the example usage for io.vertx.core.http HttpConnection updateSettings.

Prototype

Future<Void> updateSettings(Http2Settings settings);

Source Link

Document

Send to the remote endpoint an update of the server settings.

Usage

From source file:examples.HTTP2Examples.java

License:Open Source License

public void example20(HttpConnection connection) {
    connection.updateSettings(new Http2Settings().setMaxConcurrentStreams(100));
}