import { HTTPResponse } from "https://deno.land/x/ghst@v1.1.4/res.ts";
Adds a header to the response.
Examples
const ghst = new GhstApplication();
const ghst = new GhstApplication();
ghst.onRequest("/","GET",(req,res) => { res.setHeader("Content-Type","text/html").send("Hello World!") });