There isn't seem a way to write text data to the rendezvous connection.
listener.acceptConnectionAsync().join() returns HybridConnectionChannel, which I can cast to WebSocketChannel as that is the underlying type. However, the method I need, CompletableFuture<Void> writeAsync(Object data, Duration timeout, boolean isEnd, WriteMode mode), is not public.
Similarly, the ``readTextAsync``` method is not public, hence there is no way to read text messages.
There isn't seem a way to write text data to the rendezvous connection.
listener.acceptConnectionAsync().join()
returnsHybridConnectionChannel
, which I can cast toWebSocketChannel
as that is the underlying type. However, the method I need,CompletableFuture<Void> writeAsync(Object data, Duration timeout, boolean isEnd, WriteMode mode)
, is not public.Similarly, the ``readTextAsync``` method is not public, hence there is no way to read text messages.