⚡Fast , simple expressive web framework for deno 🦕.
httpMiddleware
to middleware
folder.httpRequest
, httpResponse
, httpMessage
to http
folder.httpRouting
to router
folder.utils
folderHttpStatus
interface.middleware
to HttpMiddleware
.post
request keeps loading.match
method.handleHttpRequest
to handle an HTTP request from the Deno server.ResponseOutput
interface.permanentRedirect
method to return a 301 status codeexamples
expectsJson
method to quickly determine if the incoming request expects a JSON response.prefers
method to determine which content type out of a given array of content types is most preferred by the request.isHttpError
helper functionend
method instead of send
Fix typo.
Add build-in middlewares:
X-XSS-Protection
X-Frame-Options
CORSMethodMiddleware
status
defaulting to 302