serve_file: Create a livecode server for broadcasting a file

Description Usage Arguments

View source: R/file_stream_server.R

Description

Create a livecode server for broadcasting a file

Usage

1
2
3
4
5
6
7
8
9
serve_file(
  file,
  ip,
  port,
  interval = 1,
  bitly = FALSE,
  auto_save = TRUE,
  open_browser = TRUE
)

Arguments

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.


rundel/livecode documentation built on Sept. 10, 2020, 9:19 p.m.