code: public static void sendTextBlocking(final String message, final WebSocketChannel wsChannel) throws IOException {
          final ByteBuffer data = ByteBuffer.wrap(message.getBytes(StandardCharsets.UTF_8));
          sendBlockingInternal(data, WebSocketFrameType.TEXT, wsChannel);
      }
docs: Sends a complete text message, invoking the callback when complete
  
  @param message The text to send
  @param wsChannel The web socket channel