api: Create odin.api

View source: R/api.R

apiR Documentation

Create odin.api

Description

Create an odin.api server, a porcelain object

Usage

api(validate = NULL, log_level = "info")

Arguments

validate

Logical, indicating if validation should be done on responses. This should be FALSE in production environments. See porcelain::porcelain for details

log_level

Logging level to use. Sensible options are "off", "info" and "all".

Value

A porcelain::porcelain object. Notably this does not start the server


mrc-ide/odin.api documentation built on Sept. 13, 2023, 4:01 p.m.