Description Usage Arguments Value
View source: R/callthat_plumber.R
Runs a plumber app in a separate R session
1 2 3 4 5 6 7 8 | call_that_plumber_start(
api_folder = NULL,
port = 6556,
docs = TRUE,
api_file = "plumber.R",
host = "http://127.0.0.1",
check_delay = 1
)
|
api_folder |
The API source file root folder. |
port |
The port number to run the API at. Defaults to 6556. |
docs |
Flag that indicates whether to start the Swagger page for the app. Defaults to TRUE. |
api_file |
API's file name |
host |
URL for the API's host. Defaults to 127.0.0.1 |
check_delay |
Number of seconds to wait before making sure the app is running. Defaults to 1. |
An httr
request
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.