httpuv: HTTP and WebSocket Server Library

Share:

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. (See LICENSE file for libuv and http-parser license information.)

Author
RStudio, Inc.
Date of publication
2015-08-04 00:32:50
Maintainer
Joe Cheng <joe@rstudio.com>
License
GPL-3 | file LICENSE
Version
1.3.3
URLs

View on CRAN

Man pages

encodeURI
URI encoding/decoding
httpuv-package
HTTP and WebSocket server
interrupt
Interrupt httpuv runloop
rawToBase64
Convert raw vector to Base64-encoded string
runServer
Run a server
service
Process requests
startDaemonizedServer
Create an HTTP/WebSocket daemonized server (experimental)
startServer
Create an HTTP/WebSocket server
stopDaemonizedServer
Stop a running daemonized server in Unix environments
stopServer
Stop a running server
WebSocket-class
WebSocket object

Files in this package

httpuv
httpuv/src
httpuv/src/sha1
httpuv/src/sha1/sha1.h
httpuv/src/sha1/sha1.c
httpuv/src/Makevars
httpuv/src/websockets-ietf.cpp
httpuv/src/filedatasource-unix.cpp
httpuv/src/httpuv.cpp
httpuv/src/constants.h
httpuv/src/websockets-hixie76.h
httpuv/src/base64
httpuv/src/base64/base64.hpp
httpuv/src/base64/base64.cpp
httpuv/src/libuv
httpuv/src/libuv/uv.gyp
httpuv/src/libuv/Makefile
httpuv/src/libuv/checksparse.sh
httpuv/src/libuv/config-unix.mk
httpuv/src/libuv/src
httpuv/src/libuv/src/uv-common.c
httpuv/src/libuv/src/win
httpuv/src/libuv/src/win/fs.c
httpuv/src/libuv/src/win/stream-inl.h
httpuv/src/libuv/src/win/util.c
httpuv/src/libuv/src/win/req.c
httpuv/src/libuv/src/win/winsock.h
httpuv/src/libuv/src/win/tcp.c
httpuv/src/libuv/src/win/tty.c
httpuv/src/libuv/src/win/timer.c
httpuv/src/libuv/src/win/core.c
httpuv/src/libuv/src/win/winapi.c
httpuv/src/libuv/src/win/error.c
httpuv/src/libuv/src/win/atomicops-inl.h
httpuv/src/libuv/src/win/getaddrinfo.c
httpuv/src/libuv/src/win/loop-watcher.c
httpuv/src/libuv/src/win/thread.c
httpuv/src/libuv/src/win/pipe.c
httpuv/src/libuv/src/win/signal.c
httpuv/src/libuv/src/win/process.c
httpuv/src/libuv/src/win/stream.c
httpuv/src/libuv/src/win/internal.h
httpuv/src/libuv/src/win/winapi.h
httpuv/src/libuv/src/win/udp.c
httpuv/src/libuv/src/win/dl.c
httpuv/src/libuv/src/win/process-stdio.c
httpuv/src/libuv/src/win/winsock.c
httpuv/src/libuv/src/win/async.c
httpuv/src/libuv/src/win/fs-event.c
httpuv/src/libuv/src/win/threadpool.c
httpuv/src/libuv/src/win/req-inl.h
httpuv/src/libuv/src/win/poll.c
httpuv/src/libuv/src/win/handle-inl.h
httpuv/src/libuv/src/win/handle.c
httpuv/src/libuv/src/inet.c
httpuv/src/libuv/src/unix
httpuv/src/libuv/src/unix/kqueue.c
httpuv/src/libuv/src/unix/fs.c
httpuv/src/libuv/src/unix/netbsd.c
httpuv/src/libuv/src/unix/tcp.c
httpuv/src/libuv/src/unix/tty.c
httpuv/src/libuv/src/unix/linux-syscalls.c
httpuv/src/libuv/src/unix/timer.c
httpuv/src/libuv/src/unix/core.c
httpuv/src/libuv/src/unix/error.c
httpuv/src/libuv/src/unix/loop.c
httpuv/src/libuv/src/unix/linux-core.c
httpuv/src/libuv/src/unix/darwin.c
httpuv/src/libuv/src/unix/getaddrinfo.c
httpuv/src/libuv/src/unix/loop-watcher.c
httpuv/src/libuv/src/unix/thread.c
httpuv/src/libuv/src/unix/freebsd.c
httpuv/src/libuv/src/unix/pipe.c
httpuv/src/libuv/src/unix/signal.c
httpuv/src/libuv/src/unix/process.c
httpuv/src/libuv/src/unix/stream.c
httpuv/src/libuv/src/unix/internal.h
httpuv/src/libuv/src/unix/openbsd.c
httpuv/src/libuv/src/unix/aix.c
httpuv/src/libuv/src/unix/cygwin.c
httpuv/src/libuv/src/unix/linux-syscalls.h
httpuv/src/libuv/src/unix/udp.c
httpuv/src/libuv/src/unix/dl.c
httpuv/src/libuv/src/unix/fsevents.c
httpuv/src/libuv/src/unix/darwin-proctitle.c
httpuv/src/libuv/src/unix/async.c
httpuv/src/libuv/src/unix/proctitle.c
httpuv/src/libuv/src/unix/threadpool.c
httpuv/src/libuv/src/unix/sunos.c
httpuv/src/libuv/src/unix/linux-inotify.c
httpuv/src/libuv/src/unix/poll.c
httpuv/src/libuv/src/uv-common.h
httpuv/src/libuv/src/fs-poll.c
httpuv/src/libuv/src/version.c
httpuv/src/libuv/config-mingw.mk
httpuv/src/libuv/AUTHORS
httpuv/src/libuv/README.md
httpuv/src/libuv/build.mk
httpuv/src/libuv/vcbuild.bat
httpuv/src/libuv/common.gypi
httpuv/src/libuv/ChangeLog
httpuv/src/libuv/test
httpuv/src/libuv/test/test-tcp-open.c
httpuv/src/libuv/test/test-fs-poll.c
httpuv/src/libuv/test/benchmark-async.c
httpuv/src/libuv/test/run-benchmarks.c
httpuv/src/libuv/test/test-poll-close.c
httpuv/src/libuv/test/runner-unix.h
httpuv/src/libuv/test/test-pipe-connect-error.c
httpuv/src/libuv/test/test-run-once.c
httpuv/src/libuv/test/test-timer-from-check.c
httpuv/src/libuv/test/test-tcp-unexpected-read.c
httpuv/src/libuv/test/test-ipc-send-recv.c
httpuv/src/libuv/test/fixtures
httpuv/src/libuv/test/fixtures/load_error.node
httpuv/src/libuv/test/fixtures/empty_file
httpuv/src/libuv/test/test-poll.c
httpuv/src/libuv/test/benchmark-million-async.c
httpuv/src/libuv/test/test-delayed-accept.c
httpuv/src/libuv/test/test-udp-options.c
httpuv/src/libuv/test/test-condvar.c
httpuv/src/libuv/test/dns-server.c
httpuv/src/libuv/test/task.h
httpuv/src/libuv/test/benchmark-multi-accept.c
httpuv/src/libuv/test/runner-unix.c
httpuv/src/libuv/test/test-loop-handles.c
httpuv/src/libuv/test/test-spawn.c
httpuv/src/libuv/test/test-active.c
httpuv/src/libuv/test/test-ref.c
httpuv/src/libuv/test/benchmark-udp-pummel.c
httpuv/src/libuv/test/test-fail-always.c
httpuv/src/libuv/test/test-tcp-shutdown-after-write.c
httpuv/src/libuv/test/runner.c
httpuv/src/libuv/test/benchmark-sizes.c
httpuv/src/libuv/test/benchmark-tcp-write-batch.c
httpuv/src/libuv/test/test-tcp-writealot.c
httpuv/src/libuv/test/test-list.h
httpuv/src/libuv/test/test-stdio-over-pipes.c
httpuv/src/libuv/test/benchmark-ping-pongs.c
httpuv/src/libuv/test/test-ping-pong.c
httpuv/src/libuv/test/benchmark-pound.c
httpuv/src/libuv/test/runner-win.h
httpuv/src/libuv/test/benchmark-pump.c
httpuv/src/libuv/test/test-process-title.c
httpuv/src/libuv/test/test-error.c
httpuv/src/libuv/test/benchmark-list.h
httpuv/src/libuv/test/test-timer.c
httpuv/src/libuv/test/test-idle.c
httpuv/src/libuv/test/test-walk-handles.c
httpuv/src/libuv/test/test-getsockname.c
httpuv/src/libuv/test/test-tcp-connect-timeout.c
httpuv/src/libuv/test/test-tcp-close-while-connecting.c
httpuv/src/libuv/test/test-udp-dgram-too-big.c
httpuv/src/libuv/test/test-pipe-bind-error.c
httpuv/src/libuv/test/test-tcp-flags.c
httpuv/src/libuv/test/test-barrier.c
httpuv/src/libuv/test/runner-win.c
httpuv/src/libuv/test/test-get-loadavg.c
httpuv/src/libuv/test/test-ipc.c
httpuv/src/libuv/test/benchmark-loop-count.c
httpuv/src/libuv/test/benchmark-getaddrinfo.c
httpuv/src/libuv/test/test-fs-event.c
httpuv/src/libuv/test/test-multiple-listen.c
httpuv/src/libuv/test/test-callback-order.c
httpuv/src/libuv/test/test-udp-ipv6.c
httpuv/src/libuv/test/test-mutexes.c
httpuv/src/libuv/test/test-tcp-bind-error.c
httpuv/src/libuv/test/test-udp-open.c
httpuv/src/libuv/test/test-tcp-read-stop.c
httpuv/src/libuv/test/test-tcp-bind6-error.c
httpuv/src/libuv/test/runner.h
httpuv/src/libuv/test/test-tcp-connect-error.c
httpuv/src/libuv/test/benchmark-fs-stat.c
httpuv/src/libuv/test/test-shutdown-eof.c
httpuv/src/libuv/test/test-run-nowait.c
httpuv/src/libuv/test/benchmark-million-timers.c
httpuv/src/libuv/test/echo-server.c
httpuv/src/libuv/test/test-semaphore.c
httpuv/src/libuv/test/test-udp-send-and-recv.c
httpuv/src/libuv/test/test-tcp-connect-error-after-write.c
httpuv/src/libuv/test/blackhole-server.c
httpuv/src/libuv/test/test-connection-fail.c
httpuv/src/libuv/test/test-getaddrinfo.c
httpuv/src/libuv/test/test-loop-stop.c
httpuv/src/libuv/test/test-fs.c
httpuv/src/libuv/test/test-osx-select.c
httpuv/src/libuv/test/test-hrtime.c
httpuv/src/libuv/test/test-threadpool-cancel.c
httpuv/src/libuv/test/test-cwd-and-chdir.c
httpuv/src/libuv/test/benchmark-async-pummel.c
httpuv/src/libuv/test/test-tcp-write-to-half-open-connection.c
httpuv/src/libuv/test/benchmark-thread.c
httpuv/src/libuv/test/test-udp-multicast-ttl.c
httpuv/src/libuv/test/benchmark-spawn.c
httpuv/src/libuv/test/test-signal-multiple-loops.c
httpuv/src/libuv/test/test-signal.c
httpuv/src/libuv/test/run-tests.c
httpuv/src/libuv/test/test-get-currentexe.c
httpuv/src/libuv/test/test-shutdown-close.c
httpuv/src/libuv/test/test-embed.c
httpuv/src/libuv/test/test-udp-multicast-join.c
httpuv/src/libuv/test/test-async.c
httpuv/src/libuv/test/test-platform-output.c
httpuv/src/libuv/test/test-thread.c
httpuv/src/libuv/test/test-tcp-connect6-error.c
httpuv/src/libuv/test/test-pass-always.c
httpuv/src/libuv/test/test-tcp-close.c
httpuv/src/libuv/test/test-tty.c
httpuv/src/libuv/test/test-util.c
httpuv/src/libuv/test/test-timer-again.c
httpuv/src/libuv/test/test-callback-stack.c
httpuv/src/libuv/test/test-dlerror.c
httpuv/src/libuv/test/test-get-memory.c
httpuv/src/libuv/test/test-threadpool.c
httpuv/src/libuv/LICENSE
httpuv/src/libuv/gyp_uv
httpuv/src/libuv/include
httpuv/src/libuv/include/uv-private
httpuv/src/libuv/include/uv-private/uv-bsd.h
httpuv/src/libuv/include/uv-private/uv-sunos.h
httpuv/src/libuv/include/uv-private/uv-win.h
httpuv/src/libuv/include/uv-private/stdint-msvc2008.h
httpuv/src/libuv/include/uv-private/uv-unix.h
httpuv/src/libuv/include/uv-private/tree.h
httpuv/src/libuv/include/uv-private/uv-linux.h
httpuv/src/libuv/include/uv-private/ngx-queue.h
httpuv/src/libuv/include/uv-private/uv-darwin.h
httpuv/src/libuv/include/uv.h
httpuv/src/md5.c
httpuv/src/websockets-base.cpp
httpuv/src/http.cpp
httpuv/src/http-parser
httpuv/src/http-parser/Makefile
httpuv/src/http-parser/AUTHORS
httpuv/src/http-parser/http_parser.gyp
httpuv/src/http-parser/README.md
httpuv/src/http-parser/LICENSE-MIT
httpuv/src/http-parser/http_parser.h
httpuv/src/http-parser/CONTRIBUTIONS
httpuv/src/http-parser/test.c
httpuv/src/http-parser/http_parser.c
httpuv/src/http-parser/contrib
httpuv/src/http-parser/contrib/url_parser.c
httpuv/src/http-parser/contrib/parsertrace.c
httpuv/src/filedatasource.h
httpuv/src/websockets-base.h
httpuv/src/websockets.cpp
httpuv/src/websockets-ietf.h
httpuv/src/set_invalid_parameter.c
httpuv/src/fixup.h
httpuv/src/filedatasource-win.cpp
httpuv/src/http.h
httpuv/src/Makevars.win
httpuv/src/RcppExports.cpp
httpuv/src/websockets-hixie76.cpp
httpuv/src/websockets.h
httpuv/src/websockets-hybi03.cpp
httpuv/src/websockets-hybi03.h
httpuv/src/md5.h
httpuv/src/uvutil.cpp
httpuv/src/uvutil.h
httpuv/NAMESPACE
httpuv/demo
httpuv/demo/daemon-echo.R
httpuv/demo/echo.R
httpuv/demo/00Index
httpuv/NEWS
httpuv/R
httpuv/R/RcppExports.R
httpuv/R/httpuv.R
httpuv/README.md
httpuv/MD5
httpuv/DESCRIPTION
httpuv/man
httpuv/man/startServer.Rd
httpuv/man/encodeURI.Rd
httpuv/man/service.Rd
httpuv/man/stopServer.Rd
httpuv/man/httpuv-package.Rd
httpuv/man/runServer.Rd
httpuv/man/startDaemonizedServer.Rd
httpuv/man/WebSocket-class.Rd
httpuv/man/rawToBase64.Rd
httpuv/man/stopDaemonizedServer.Rd
httpuv/man/interrupt.Rd
httpuv/LICENSE