View source: R/file_stream_server.R
Create a livecode server for broadcasting a file
1 2 3 4 5 6 7 8 9 | serve_file(
file,
ip,
port,
interval = 1,
bitly = FALSE,
auto_save = TRUE,
open_browser = TRUE
)
|
file |
Path to file to broadcast. |
ip |
ip of the server, defaults to the top result of 'network_interfaces'. |
port |
port of the server, defaults to a random value. |
interval |
page update interval in seconds. |
bitly |
should a bitly bit link be created for the server. |
auto_save |
should the broadcast file be auto saved during each update tic. |
open_browser |
should a browser session be opened. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.