rstudio / shiny-server

Host Shiny applications over the web.
https://rstudio.com/shiny/server
Other
712 stars 290 forks source link

How to connect to shiny server via websocket? #481

Open esomkin opened 3 years ago

esomkin commented 3 years ago

Hi!

We have R application which is display tables and charts in browser. Application is interactive, on every action it sends and receive some data from shiny server and change page in browser. Sending & receiving use websockets.

Also we have another application which can use data from R application. So i need to connect from Javascript on client side or from PHP on server side to shiny server websocket, send and receive some answers.

Is there any documentation how to connect to shiny server via websocket from JavaScript or PHP ?

Thank you in advance!

esomkin commented 3 years ago

Or examples?

schienstockd commented 3 years ago

I am interested as well. I have a python application that I would like to link up with shiny.

Is there an official way? The only other I see at the moment is to use reactiveFileReader to send "commands" to shiny. I am not sure that this would be the way to do it?