respondPDF: Respond to HTTP request with PDF data

Description Usage Arguments

Description

Responds to an HTTP request with PDF data from a given PDF file

Usage

1
respondPDF(pdfFile, filename = "image.pdf", download = FALSE)

Arguments

pdfFile

the name of a file containing the binary datav

filename

the filename to be used in the HTTP header. Defaults to image.pdf

download

whether or not to treat this as a download. Defaults to FALSE.


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