respondHTML: Respond to HTTP request using HTML

Description Usage Arguments Examples

Description

Responds to an HTTP request using a given HTML content

Usage

1

Arguments

html

a character string containing the HTML content

Examples

1
2
3
error <- "Insufficient amount of coffee!"
errorHTML <- interpolate("../../html/app/error.html",c(message=error))
respondHTML(errorHTML)

jweile/cgir documentation built on May 10, 2019, 10:02 a.m.