code: public WebSocket sendText(String payload, boolean fin)
      {
          return sendFrame(WebSocketFrame.createTextFrame(payload).setFin(fin));
      }
docs: Send a text frame to the server.
  
  <p>
  This method is an alias of {@link #sendFrame(WebSocketFrame)
  sendFrame}{@code (WebSocketFrame.}{@link
  WebSocketFrame#createTextFrame(String)
  createTextFrame}{@code (payload).}{@link
  WebSocketFrame#setFin(boolean) setFin}{@code (fin))}.
  </p>
  
  @param payload
  The payload of a text frame.
  
  @param fin
  The FIN bit value.
  
  @return
  {@code this} object.