Learn R Programming

⚠️There's a newer version (1.6.16) of this package.Take me there.

httpuv: HTTP and WebSocket server library for R

httpuv provides low-level socket and protocol support for handling HTTP and WebSocket requests directly from within R. It is primarily intended as a building block for other packages, rather than making it particularly easy to create complete web applications using httpuv alone. httpuv is built on top of the libuv and http-parser C libraries, both of which were developed by Joyent, Inc.

Installing

You can install the stable version from CRAN, or the development version using devtools:

# install from CRAN
install.packages("httpuv")

# or if you want to test the development version here
if (!require("devtools")) install.packages("devtools")
devtools::install_github("rstudio/httpuv")

Since httpuv contains C code, you'll need to make sure you're set up to install packages. Follow the instructions at http://www.rstudio.com/ide/docs/packages/prerequisites


© 2013-2014 RStudio, Inc.

Copy Link

Version

Install

install.packages('httpuv')

Monthly Downloads

662,295

Version

1.3.3

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Joe Cheng

Last Published

August 4th, 2015

Functions in httpuv (1.3.3)

startDaemonizedServer

Create an HTTP/WebSocket daemonized server (experimental)
rawToBase64

Convert raw vector to Base64-encoded string
interrupt

Interrupt httpuv runloop
stopServer

Stop a running server
WebSocket-class

WebSocket object
httpuv-package

HTTP and WebSocket server
stopDaemonizedServer

Stop a running daemonized server in Unix environments
encodeURI

URI encoding/decoding
service

Process requests
runServer

Run a server
startServer

Create an HTTP/WebSocket server