call_that_plumber_start: Runs a plumber app in a separate R session

Description Usage Arguments Value

View source: R/callthat_plumber.R

Description

Runs a plumber app in a separate R session

Usage

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
)

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


edgararuiz/callthat documentation built on Dec. 20, 2021, 3:19 a.m.