set_content_type {tower}R Documentation

Set the content type of a response

Description

Sets the content type of a response

Usage

set_content_type(res, content_type)

Arguments

res

A response builder object

content_type

The content type to set

Value

The response builder object


[Package tower version 0.2.0 Index]