I'm trying to use the java websocket client ( https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/WebSocket.html ) via https://github.com/gnarroway/hato to get a very large message. I have a jetty websocket client working which can successfully receive the large message if I do (-> client .getPolicy (.setMaxTextMessageSize 1000000))
but the java client seems to just fail silently. Any tips?
Websockets can break messages into multiple frames, and listener callbacks are called pee frame not per message, so make sure you are handling a large message being split into multiple frames