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

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

Introduction

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

Prototype

@Fluent
HttpConnection shutdown();

Source Link

Document

Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current active streams are closed or after a time out of 30 seconds.

Usage

From source file:examples.HTTP2Examples.java

License:Open Source License

public void example25(HttpConnection connection) {
    connection.shutdown();
}