All functions

porcelain

A porcelain object

porcelain_add_headers()

Add headers to endpoint output data

porcelain_background

While porcelain makes it easy to test endpoints individually, you may still want some integration or end-to-end tests where you bring the entire API up and interact with it from your tests. This class provides a helper for doing this in a way that is reasonably tidy.

porcelain_endpoint

Basic endpoint object

porcelain_input_body_binary() porcelain_input_body_json()

Control for body parameters

porcelain_input_query()

Control for query parameters

porcelain_logger()

Create logger

porcelain_package_endpoint()

Find roxygen-defined endpoint

porcelain_returning() porcelain_returning_json() porcelain_returning_binary() porcelain_returning_text()

Support for endpoint return types

porcelain_roclet()

Define API using roxygen tags

porcelain_state()

Bind state into an endpoint

porcelain_stop()

Throw an error from an endpoint