import { Response } from "https://deno.land/x/attain@1.1.2/mod.ts";
Constructors
new
Response(_serverRequest: Request)Methods
private
format(obj: any)destroy(): void
download(filePath: string, name?: string): Promise<void>
Serve the static file and force the browser to download it.
executePendingJobs(request: AttainRequest): Promise<void>
Execute pend jobs, It's automatically executed after calling the end()
or send()
.