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

binaryFrame

open static fun binaryFrame(data: Buffer, isFinal: Boolean): WebSocketFrame

Create a binary WebSocket frame.

Parameters

data - the data for the frame

isFinal - true if it's the final frame in the WebSocket message

Return
the frame