Learn R Programming

tower (version 0.2.0)

add_body: Add a body to a response

Description

Adds a body to a response, if no content type is set, it will be detected

Usage

add_body(res, body)

Value

The response builder object

Arguments

res

A response builder object

body

The body to add