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

textFrame

open static fun textFrame(str: String, isFinal: Boolean): WebSocketFrame

Create a text WebSocket frame.

Parameters

str - the string for the frame

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

Return
the frame