import { Response } from "https://deno.land/x/opine@2.2.0/src/response.ts";
Transfer the file at the given path
as an attachment.
Optionally providing an alternate attachment filename
.
Optionally providing an options
object to use with res.sendFile()
.
This function will set the Content-Disposition
header, overriding
any existing Content-Disposition
header in order to set the attachment
and filename.
This method uses res.sendFile()
.