open static fun textFrame(str: String, isFinal: Boolean): WebSocketFrame
Create a text WebSocket frame.
str - the string for the frame
str
isFinal - true if it's the final frame in the WebSocket message
isFinal
Return the frame