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