Learn R Programming

jug (version 0.1.7)

decorate: Convenience function to decorate existing functions

Description

Convenience function to decorate existing functions

Usage

decorate(func, content_type = "text/html", strict_params = FALSE)

Arguments

func
the function to decorate
content_type
the content type to set on the response object
strict_params
if TRUE and not all parameters needed for func