httpuv_app: Create demo httpuv app

Description Usage Arguments Value Examples

View source: R/websocket.R

Description

This app is composed of an HTTP response containing a an HTML page with a range slider and a client websocket connection. The app has also a server websocket handler. At the end of the day, don't forget to stop the app!

Usage

1

Arguments

delay

To simulate computationally intense task.

Value

An httpuv powered app

Examples

1
2
3
4
5
if (interactive()) {
 library(OSUICode)
 my_app <- httpuv_app()
 my_app$stop()
}

DivadNojnarg/outstanding-shiny-ui-code documentation built on Nov. 2, 2021, 12:03 p.m.