add_body: Add a body to a response

View source: R/response_builder.R

add_bodyR Documentation

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)

Arguments

res

A response builder object

body

The body to add

Value

The response builder object


tower documentation built on Oct. 30, 2024, 9:28 a.m.