respondSVG: Respond to HTTP request with SVG data

Description Usage Arguments

Description

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

Usage

1
respondSVG(svgFile, filename = "image.svg", download = FALSE)

Arguments

svgFile

the name of a file containing the binary data

filename

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

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.