import { GhstApplication } from "https://deno.land/x/ghst@v1.1.4/mod.ts";
Properties
private
_middleware: MiddlewareFunc[]readonly
on404: (arg0: HTTPRequest, arg1: HTTPResponse) => voidHow the application handles 404 requests.
Static Methods
deprecated
ContentType(contentType: string): MiddlewareFuncMiddleware for setting a default content type header on all requests. Not recommended with use of sendFile().