ABSTRACT

We open this part of the book looking at a web technology absolutely central to the Shiny framework: websocket. The websocket is used for bidirectional communication between the Shiny server and the front-end (JavaScript). We explore how this works and create an example to display notifications in Shiny at the click of a button.