Learn R Programming

tower (version 0.2.0)

set_content_type: Set the content type of a response

Description

Sets the content type of a response

Usage

set_content_type(res, content_type)

Value

The response builder object

Arguments

res

A response builder object

content_type

The content type to set