Copy link to clipboard
Copied
Hi all,
I have current running WebSocket server on localhost.
I'd like to make Lightroom plugin that connect the server.
My understanding is following.
* Lightroom modules cannot add third party code like LuaRocks installation.
* Lightroom 6/CC has LrSocket and LrHttp.
Is that possible to implement WebSocket client on top or LrSocket or any other way?
Thank you,
Naoki
Copy link to clipboard
Copied
* Lightroom modules cannot add third party code like LuaRocks installation.
You can include third-party source as long as you convert it to Lua 5.1 (if necessary) and the restricted Lua environment provided by LR (see the Lightroom SDK Guide for the restrictions).
* Lightroom 6/CC has LrSocket and LrHttp.
Is that possible to implement WebSocket client on top or LrSocket
My brief skimming of WebSocket is that it is a bidirectional, non-HTTP protocol (that starts with an HTTP handshake). Unfortunately, each instance of LrSocket is one-way (send or receive). So I don't see how it could be used to implement WebSocket.
Copy link to clipboard
Copied
johnrellis, thank you very much for your input. I think similar way but still look for solutions.