Learn R Programming

httpuv (version 1.2.1)

httpuv-package: HTTP and WebSocket server

Description

HTTP and WebSocket server

Arguments

Details

Allows R code to listen for and interact with HTTP and WebSocket clients, so you can serve web traffic directly out of your R process. Implementation is based on https://github.com/joyent/libuv{libuv} and https://github.com/joyent/http-parser{http-parser}.

This is a low-level library that provides little more than network I/O and implementations of the HTTP and WebSocket protocols. For an easy way to create web applications, try http://rstudio.com/shiny/{Shiny} instead.

See Also

startServer

Examples

Run this code
demo("echo", package="httpuv")

Run the code above in your browser using DataLab