List of usage examples for io.vertx.core.http HttpServerResponse writeCustomFrame
@Fluent HttpServerResponse writeCustomFrame(int type, int flags, Buffer payload);
From source file:examples.HTTP2Examples.java
License:Open Source License
public void example2(HttpServerResponse response) { int frameType = 40; int frameStatus = 10; Buffer payload = Buffer.buffer("some data"); // Sending a frame to the client response.writeCustomFrame(frameType, frameStatus, payload); }