Learn R Programming

tower (version 0.2.0)

add_cookie: Add a cookie to a response

Description

Adds a cookie to a response

Usage

add_cookie(res, name, value)

Value

The response builder object

Arguments

res

A response builder object

name

The name of the cookie

value

The value of the cookie