startServer
(Package: httpuv) :
Create an HTTP/WebSocket server
Creates an HTTP/WebSocket server on the specified host and port.
● Data Source:
CranContrib
● Keywords:
● Alias: startPipeServer, startServer
●
0 images
|
encodeURI
(Package: httpuv) :
URI encoding/decoding
Encodes/decodes strings using URI encoding/decoding in the same way that web browsers do. The precise behaviors of these functions can be found at developer.mozilla.org: encodeURI, encodeURIComponent, decodeURI, decodeURIComponent
● Data Source:
CranContrib
● Keywords:
● Alias: decodeURI, decodeURIComponent, encodeURI, encodeURIComponent
●
0 images
|
service
(Package: httpuv) :
Process requests
Process HTTP requests and WebSocket messages. Even if a server exists, no requests are serviced unless and until service is called.
● Data Source:
CranContrib
● Keywords:
● Alias: service
●
0 images
|
stopServer
(Package: httpuv) :
Stop a running server
Given a handle that was returned from a previous invocation of startServer , closes all open connections for that server and unbinds the port. Be careful not to call stopServer more than once on a handle, as this will cause the R process to crash!
● Data Source:
CranContrib
● Keywords:
● Alias: stopServer
●
0 images
|
HTTP and WebSocket server
● Data Source:
CranContrib
● Keywords: package
● Alias: httpuv, httpuv-package
●
0 images
|
This is a convenience function that provides a simple way to call startServer , service , and stopServer in the correct sequence. It does not return unless interrupted or an error occurs.
● Data Source:
CranContrib
● Keywords:
● Alias: runServer
●
0 images
|
startDaemonizedServer
(Package: httpuv) :
Create an HTTP/WebSocket daemonized server (experimental)
Creates an HTTP/WebSocket server on the specified host and port. The server is daemonized so R interactive sessions are not blocked to handle requests.
● Data Source:
CranContrib
● Keywords:
● Alias: startDaemonizedServer
●
0 images
|
An object that represents a single WebSocket connection. The object can be used to send messages and close the connection, and to receive notifications when messages are received or the connection is closed.
● Data Source:
CranContrib
● Keywords:
● Alias: WebSocket, WebSocket-class
●
0 images
|
rawToBase64
(Package: httpuv) :
Convert raw vector to Base64-encoded string
Converts a raw vector to its Base64 encoding as a single-element character vector.
● Data Source:
CranContrib
● Keywords:
● Alias: rawToBase64
●
0 images
|
stopDaemonizedServer
(Package: httpuv) :
Stop a running daemonized server in Unix environments
Given a handle that was returned from a previous invocation of startDaemonizedServer , closes all open connections for that server, removes listeners in the R event loop and unbinds the port. Be careful not to call stopDaemonizedServer more than once on a handle, as this will cause the R process to crash!
● Data Source:
CranContrib
● Keywords:
● Alias: stopDaemonizedServer
●
0 images
|