Andrew O'Hara
07/22/2022, 8:10 PMWsClient
in a thread, but I would love to make that event-driven, as is done on the server-side. It turns out WebsocketClient.nonBlocking
returns Websocket
that offers an onMessage
hook. Perfect.
But I'm not sure how to get a test version of that. WsHandler.testWsClient
gave me a WsClient
, which worked perfectly for my old tests. But I'm having a hard time finding out how to make a test version of the non-blocking Websocket
. Is it not possible? Or is it just not yet implemented?dave
07/23/2022, 11:15 AMAndrew O'Hara
07/23/2022, 3:59 PMdave
07/23/2022, 4:04 PM