Learn R Programming

tower (version 0.2.0)

set_header: Set a header on a response

Description

Sets or adds a header to a response

Usage

set_header(res, name, value)

Value

The response builder object

Arguments

res

A response builder object

name

The name of the header

value

The value of the header