vertx / io.vertx.reactivex.core.http / WebSocketFrame / pongFrame

pongFrame

open static fun pongFrame(data: Buffer): WebSocketFrame

Create a pong WebSocket frame. Will be a final frame. There is no option for non final pong frames.

Parameters

data - the bytes for the frame, may be at most 125 bytes

Return
the frame