Does anyone has tried to setup CF/Lucee as websocket client (not server)?
b
bdw429s
06/27/2023, 4:45 PM
You'd likely need a Java library to do this as there are no CFML functions for this.
bdw429s
06/27/2023, 4:46 PM
I don't know what flavor of websockets you're using, but for example
stompj
is a Java lib that serves as a STOMP client over websockets
bdw429s
06/27/2023, 4:47 PM
If you're looking to trigger arbitrary code on a CFML box that sends a result back, you could look into something like RabbitMQ's RPC model which works well in CFML using the rabbitsdk I wrote.