Runs a plumber app in a separate R session

call_that_plumber_start(
  api_folder = NULL,
  port = 6556,
  docs = TRUE,
  api_file = "plumber.R",
  host = "http://127.0.0.1",
  check_delay = 1
)

Arguments

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.

Value

An httr request object